Obviously, there is a basic problem that needs to be fixed. There is a very good tool that parses your i18n YAML as a Rails application, which I found extremely useful when debugging.
Install and run this gem of i18n tasks: https://github.com/glebm/i18n-tasks .
To create a comprehensive report of your i18n components:
$ i18n-tasks health
From their specification:
This gem analyses code statically for key usages, such as I18n.t('some.key'), in order to: Report keys that are missing or unused. Pre-fill missing keys, optionally from Google Translate. Remove unused keys. Thus addressing the two main problems of i18n gem design: Missing keys only blow up at runtime. Keys no longer in use may accumulate and introduce overhead, without you knowing it.
I'm not sure if the gem was intended to be used as a debugging tool for i18n, but I found it useful for debugging to find problems in i18n.
source share