Currently, I'm working on internationalizing an exsiting project, I replaced a lot of hard-code text with I18n.t, but sometimes I forget to add proper interpolation options, and the translated text will be displayed as the original translation text in the YAML file.
So I want to have an option to enable the interpolation check in the dev/test/staging environments, then I can catch these errors in advance.
Currently, I'm working on internationalizing an exsiting project, I replaced a lot of hard-code text with
I18n.t
, but sometimes I forget to add proper interpolation options, and the translated text will be displayed as the original translation text in the YAML file.So I want to have an option to enable the interpolation check in the dev/test/staging environments, then I can catch these errors in advance.