mikhael28/paretOS

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

Offen

#245 geöffnet am 14.05.2022

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (45 Forks)auto 404
Amplifybuggood first issuehelp wantedinternationalization

Repository-Metriken

Stars
 (35 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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

Contributor Guide