My i18n-tasks config file:
data:
read:
# Default:
- config/locales/%{locale}.yml
# More files:
- config/locales/**/*.%{locale}.yml
- config/locales/views/*.{locale}.yml
- config/locales/models/*.{locale}.yml
- config/locales/helpers/*.{locale}.yml
# Locale files to write new keys to, based on a list of key pattern => file rules. Matched from top to bottom:
# `i18n-tasks normalize -p` will force move the keys according to these rules
write:
# write models.* and views.* keys to the respective files,
- ['{models,views,helpers}.*', 'config/locales/\1.%{locale}.yml']
When I type i18n-tasks add-missing
in console, I have error:
i18n-tasks: Cannot route key objects.no_objects_yet Routes are [["{models,views,helpers}.*", "config/locales/\\1.%{locale}.yml"]]
What I should edit to add-missing params? I want every add-missing translation to views/{viewname}/en.yml