mikhael28/paretOS

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

开放

#245 创建于 2022年5月14日

 (0 条评论) (0 个反应) (0 位负责人)JavaScript (45 个派生)auto 404
Amplifybuggood first issuehelp wantedinternationalization

仓库指标

星标
 (35 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南