i18n 找不到翻译
i18n dont find the translation
即使我的 YML 中存在翻译,I18n 也找不到翻译,
translation missing: fr.activerecord.errors.models.user.attributes.email.not_found
errors:
messages:
already_confirmed: a déjà été confirmé(e)
confirmation_period_expired: doit être confirmé(e) en %{period}, veuillez en demander un(e) autre
expired: est expiré, veuillez en demander un autre
not_found: n’a pas été trouvé(e)
not_locked: n’était pas verrouillé(e)
not_saved:
one: 'une erreur a empêché ce (cet ou cette) %{resource} d’être enregistré(e) :'
other: "%{count} erreurs ont empêché ce (cet ou cette) %{resource} d’être enregistré(e) :"
它必须正确地遵循 "pattern",语言环境是根,在这种情况下 fr
:
fr:
activerecord:
errors:
models:
user:
attributes:
email:
not_found: Email not found
即使我的 YML 中存在翻译,I18n 也找不到翻译,
translation missing: fr.activerecord.errors.models.user.attributes.email.not_found
errors:
messages:
already_confirmed: a déjà été confirmé(e)
confirmation_period_expired: doit être confirmé(e) en %{period}, veuillez en demander un(e) autre
expired: est expiré, veuillez en demander un autre
not_found: n’a pas été trouvé(e)
not_locked: n’était pas verrouillé(e)
not_saved:
one: 'une erreur a empêché ce (cet ou cette) %{resource} d’être enregistré(e) :'
other: "%{count} erreurs ont empêché ce (cet ou cette) %{resource} d’être enregistré(e) :"
它必须正确地遵循 "pattern",语言环境是根,在这种情况下 fr
:
fr:
activerecord:
errors:
models:
user:
attributes:
email:
not_found: Email not found