-
Notifications
You must be signed in to change notification settings - Fork 4
i18n Translations
i18n Translations have been generated to match languages supported in Hyrax for all default labels and help_text defined in lib/dog_biscuits/property_mappings/property_mappings.rb
These are added to the local application with the install generator (although the .en. locale will be overwritten by subsequent runs of the work generator).
When a new property is added or an existing label or help_text is changed, it needs to be added to or changed in lib/generators/dog_biscuits/templates/config/locales/dog_biscuits.en.yml
. The easiest way to do this is copy the file from the .internal_test_app built during testing (.internal_test_app/config/locales/dog_biscuits.em.yml
).
Once this is done, run:
i18n-tasks normalize
i18n-tasks translate-missing --from en --locales es zh fr it de pt-BR
Please see the i18n-tasks documentation for information on how to setup i18n.
Hyrax also has documentation for details on how to setup i18n.
If you have custom labels and properties in your local application, you'll need to do translations locally for those.
Please see the i18n-tasks documentation for information on how to setup i18n.