Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Translation

Translation

Added by Ulf Tiedemann over 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)

RE: Translation - Added by Sylvain Viart about 8 years ago

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.

RE: Translation - Added by Oliver Günther about 8 years ago

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

  • (1 - 2/2)
Loading...