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

Set up translations for the frontend strings #3

Open
ahderman opened this issue May 3, 2020 · 0 comments
Open

Set up translations for the frontend strings #3

ahderman opened this issue May 3, 2020 · 0 comments
Labels

Comments

@ahderman
Copy link
Owner

ahderman commented May 3, 2020

Context

Internationalization should be done early in a project, otherwise it becomes really difficult to add.
The library https://github.com/kazupon/vue-i18n is made for that and should be used.

Acceptance criteria

  • The vue-18n library is added to the project and allows us to specify translated strings in the application as described in its documentation
  • All hard-coded strings in the application are replaced with the equivalent $t() calls, and a file fr.json is created to contain the french-language localization strings.
  • If needed, tests are adapted to ensure that they don't depend on hard-coded translated strings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant