Open link in a new tab

Content

Expand project menu

Translation

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

Message actions

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.

Message actions

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:

# manual installation
bundle exec rake assets:precompile

# packaged installation
openproject run bundle exec rake assets:precompile

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