You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@glebm I maintain a Rails engine that generates YAML translations into applications, and some of these are .yml.erb files. You can see an example here:
When I ask i18n-tasks to add missing translations for these files, I (understandably) get the following error:
i18n-tasks: Adapter not found for lib/generators/hyrax/work/templates/locale.en.yml.erb. Registered adapters: [[:yaml, "*.yml", I18n::Tasks::Data::Adapter::YamlAdapter], [:json, "*.json", i18n::Tasks::Data::Adapter::JsonAdapter]]
How would you recommend I handle this? Is there a pattern you'd recommend? Would you prefer a PR, or should I handle this locally?
The text was updated successfully, but these errors were encountered:
This is unsupported by i18n-tasks so it prevents the command from running. The maintainer of that gem does not intend to support ERB: glebm/i18n-tasks#253 (comment).
Refs #1276, #1451
@glebm I maintain a Rails engine that generates YAML translations into applications, and some of these are
.yml.erb
files. You can see an example here:https://github.com/samvera/hyrax/blob/master/lib/generators/hyrax/work/templates/locale.de.yml.erb
When I ask
i18n-tasks
to add missing translations for these files, I (understandably) get the following error:How would you recommend I handle this? Is there a pattern you'd recommend? Would you prefer a PR, or should I handle this locally?
The text was updated successfully, but these errors were encountered: