Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internationalize app #128

Closed
uo288347 opened this issue Mar 12, 2024 · 2 comments
Closed

Internationalize app #128

uo288347 opened this issue Mar 12, 2024 · 2 comments
Assignees
Labels
enhancement🆕 New feature or request webapp🌐 Related to the front-end

Comments

@uo288347
Copy link
Contributor

No description provided.

@PabloGOP PabloGOP added this to the Deliverable III milestone Mar 18, 2024
@PabloGOP PabloGOP added enhancement🆕 New feature or request webapp🌐 Related to the front-end labels Mar 18, 2024
@PabloGOP PabloGOP self-assigned this Apr 8, 2024
@PabloGOP
Copy link
Contributor

From #270

Status

As for now, I think every page and test is up-to-date excepting:

  • Instructions
  • Homepage

As these require special treatment as long as they use data from an external source.

How to use

In pages in which internationalization is being applied:

  • Call t("key_of_jsons_message") whenever you want to insert a string
  • Make sure key_of_jsons_message is properly setted in all the webapp/src/localize/*.json files

In pages in which internationalization is NOT being applied:

  • Import useTranslation
  • Define in the component t: const { t } = useTranslation();
  • See previous entry

@PabloGOP
Copy link
Contributor

I keep it open to remember:

  • Inter missing pages
  • Question generation has to be leveraged

@PabloGOP PabloGOP reopened this Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement🆕 New feature or request webapp🌐 Related to the front-end
Projects
None yet
Development

No branches or pull requests

2 participants