mikhael28/paretOS

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

オープン

#245 opened on 2022/05/14

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (45 件のフォーク)auto 404
Amplifybuggood first issuehelp wantedinternationalization

Repository metrics

Stars
 (35 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド