Added by Ulf Tiedemann almost 8 years ago
Hello,
i have a problem regarding the translation of the headline dropdown ‘Work packages’ and the button ‘Work package’. I changed every Work Package string in the en locales, but nothing happened. The Translation in the Navigation is working (Screenshot)… Could you please help me?
Ulf
Replies (2)
Did you find your answer?
Y have to change the enumeration list, of “Work packages” in the admin. The value shown here comes from the database, not from the translation.
Is it your question?
Regards.
Hi Ulf,
the translation are split into two separate files:
-
config/locales/en.yml
contains strings used by Rails I18N-
config/locales/js-en.yml
contains all strings that are processed and output as JSON for the frontend. Whenever you change these, you need to rebuild the assets and restart your server with the following command:Please note: These translation are provided as part of the core installation and will thus override your locale on every update. The solution to this would be adding a separate locale (e.g.,
tasks.yml
) and enabling that language in the settings.Best,
Oliver