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

Bug: AWS Amplify I18N displays the variable name of the phrase if that phrase doesn't exist for the given language #245

Open
jayeclark opened this issue May 14, 2022 · 0 comments
Labels
Amplify Relates to AWS Amplify bug Something isn't working good first issue Good for newcomers and newer coders help wanted This issue is still active and help is wanted on it! internationalization Making the project available in other languages

Comments

@jayeclark
Copy link
Collaborator

Description

The project has various language translations available. Currently, if a phrase does not exist in the given language's dictionary, I18n returns the variable name for the phrase. It feels like there should be a way to set a default language and have I18n default to that language if a translation does not yet exist for the given language. Maybe in the I18n config options? (I'm not too familiar with the package and haven't had a chance to look at the documentation yet.)

Steps to Reproduce

  1. Go to Create Sprint Template
  2. Change to a language other than English. You'll notice that some of the text is just variable names.

Expected behavior:
The English version of the phrase or word appears if the phrase or word does not exist in the current language's dictionary.

Actual behavior:
The property name of the phrase or word appears instead.

Reproduces how often:
Always

@jayeclark jayeclark added bug Something isn't working help wanted This issue is still active and help is wanted on it! good first issue Good for newcomers and newer coders internationalization Making the project available in other languages Amplify Relates to AWS Amplify labels May 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Amplify Relates to AWS Amplify bug Something isn't working good first issue Good for newcomers and newer coders help wanted This issue is still active and help is wanted on it! internationalization Making the project available in other languages
Projects
None yet
Development

No branches or pull requests

1 participant