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. Missing translation <language name>.js.toolbar.unselected_title

Missing translation <language name>.js.toolbar.unselected_title

Added by Alexey Gagarin almost 11 years ago

Hi, I decided to write my problem down here, as apparatenty it’s not gonna be fixed quickly in Bugs section.

I’m using the latest (30.07.2014) dev git branch of openproject.
I have succesfully created ru.yml file and translated it fo Russian. Everything is displayed in Russian as intended, except when I click on Work Packages section. Than I see the same
screen as on attachments.

I’m completely dumb in Ruby, so maybe the fix can be quick’n’easy? Any ideas?

Thanks in advance.


Replies (7)

RE: Missing translation <language name>.js.toolbar.unselected_title - Added by Robin Wagner over 10 years ago

Hi Alexey,

could you try the following steps and see if it solves the problem for you?:

1. Delete the cache on your OpenProject system:

rm -r temp/cache/*

2. Delete translations.js

rm -r public/javascripts/i18n/translations.js

3. Clear the browser cache

Best,
Robin

RE: Missing translation <language name>.js.toolbar.unselected_title - Added by Alexey Gagarin over 10 years ago

We finally switched to stable release of OP 4.x. When we first installed it, we came across the very same bug, “missing ru.js….”

This time we were able to fix it.

Steps to take (for any language, tested on Russian and Spanish):
1. Open app/assets/javascripts/angular/openproject-app.js in your OP folder (mine is /var/www/openproject)
2. Find the following strings:

window.I18n = I18n;
I18n.translations.de = require(“json

./../../../../config/locales/js-de.yml”).de;
I18n.translations.en = require(“json
./../../../../config/locales/js-en.yml”).en;

3. Add your line accordingly (For Russian — I18n.translations.ru = require(“json

./../../../../config/locales/js-ru.yml”).ru;
4. Create localization file in your config/locales/ folder, js-ru.yml as follows.
5. Copy the contents of js-en.yml to your js-ru.yml and translate it to your language
6. — su - openproject -c “bash -l”
— cd /var/www/openproject
— source /home/openproject/nodeenv/bin/activate
— bundle exec rake assets:precompile RAILS_ENV=production
7. Start your OP server (if you use Apache Passenger as I do, just restart it)
8. Clear the cache of your browser and reload the OP page. You should be fine now.

RE: Missing translation <language name>.js.toolbar.unselected_title - Added by Jorge Villafuerte over 10 years ago

Hello i have the same problem with spanish,

i follow up the instructions that Alexey said, but in app/assets/javascripts/angular/openproject-app.js i didnt find any of these lines:

I18n.translations.de = require(“json

./../../../../config/locales/js-de.yml”).de;
I18n.translations.en = require(“json
./../../../../config/locales/js-en.yml”).en;

how can i fix it, and can i download the crowding transalate to do i manually?

please help me

RE: Missing translation <language name>.js.toolbar.unselected_title - Added by Alexey Gagarin over 10 years ago

1. Did you use .deb / .rpm version of OpenProject? I’ve installed it from source tarball.
2. What version of OP are you using? The fix I provided applies only to 4.x branch.
3. Unfortunately, I do not have the complete translation file of Spanish language. We test it just to make sure other translations different from DE and EN have this problem too. :)

RE: Missing translation <language name>.js.toolbar.unselected_title - Added by Jorge Villafuerte over 10 years ago

thanks for ur answer

1: i use .rpm version
2: i use 4.0

RE: Missing translation <language name>.js.toolbar.unselected_title - Added by Jorge Villafuerte over 10 years ago

i update tu 4.0.1 and it fix it up

thank you

RE: Missing translation <language name>.js.toolbar.unselected_title - Added by Deleted user over 10 years ago

I can confirm this is as a regression in the dev branch. We’ll try to roll out a fix as soon as possible. In the meantime, if you want to deploy an instance of OpenProject with languages other than German or English, I’d recommend sticking to a release / the 4.0.x branch.

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