Top Menu

Jump to content
Home
    • Projects
    • Work packages
    • 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
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Professional 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?
      Create a new account

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
  • Roadmap
  • Work packages
  • Calendars
  • Team planners
  • Boards
  • Forums
  • Wiki
    • Table of contents
      • Expanded. Click to collapseCollapsed. Click to showDeveloper
        • Hierarchy leafAccessibility Checklist
        • Hierarchy leafCode Review Guidelines
        • Expanded. Click to collapseCollapsed. Click to showContribution
          • Hierarchy leafGit Workflow
          • Hierarchy leafTranslations
        • Expanded. Click to collapseCollapsed. Click to showDeveloping Plugins
          • Hierarchy leafDeveloping an OmniAuth Authentication Plugin
        • Hierarchy leafRelease Process
        • Hierarchy leafReport a bug
        • Hierarchy leafSecurity
        • Hierarchy leafSetting up an OpenLDAP server for testing
        • Hierarchy leafTheme Features
      • Hierarchy leafDownload
      • Expanded. Click to collapseCollapsed. Click to showFeature tour
        • Hierarchy leafRelease Notes OpenProject 30
        • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 30 - Overview
          • Hierarchy leafGlossary
          • Hierarchy leafRelease Notes - Accessibility
          • Hierarchy leafRelease Notes - Accessibility changes
          • Hierarchy leafRelease Notes - Add work package queries as menu items to sidebar
          • Hierarchy leafRelease Notes - Copy projects based on Templates
          • Hierarchy leafRelease Notes - Design changes
          • Hierarchy leafRelease Notes - Fixed Bugs
          • Hierarchy leafRelease Notes - Keyboard Shortcuts
          • Hierarchy leafRelease Notes - Project settings
          • Hierarchy leafRelease Notes - Ruby&Rails Update
          • Hierarchy leafRelease Notes - Security
          • Hierarchy leafRelease Notes - Timelines
          • Hierarchy leafRelease Notes - Work packages
      • Hierarchy leafHowto create animated gifs
      • Hierarchy leafMigration Squashing
      • Hierarchy leafMod security
      • Hierarchy leafNew work package page
      • Hierarchy leafOP3 to OP4 Debian upgrade
      • Hierarchy leafOP4 Ubuntu1404 Stable with MySQL in production
      • Hierarchy leafOpenProject 40 Development Setup
      • Expanded. Click to collapseCollapsed. Click to showOpenProject Foundation
        • Hierarchy leafBoards
        • Hierarchy leafMembers
        • Hierarchy leafOPF-Meetings
        • Hierarchy leafStatutes
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes
        • Hierarchy leafOpenProject released on Bitnami
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 40 - Overview
        • Hierarchy leafRelease Notes OpenProject 40 - Accessibility improvements
        • Hierarchy leafRelease Notes OpenProject 40 - Column header functions in work package table
        • Hierarchy leafRelease Notes OpenProject 40 - Improved Design
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated query title on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated toolbar on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - OmniAuth integration for OpenProject
        • Hierarchy leafRelease Notes OpenProject 40 - Work package details pane
      • Expanded. Click to collapseCollapsed. Click to showSecurity and privacy
        • Hierarchy leafFAQ
      • Expanded. Click to collapseCollapsed. Click to showSupport
        • Expanded. Click to collapseCollapsed. Click to showDownload and Installation
          • Hierarchy leafInstallation MacOS
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 3 0
            • Hierarchy leafDebian Stable with MySQL in production
            • Hierarchy leafInstallation Ubuntu
            • Hierarchy leafInstallation Windows
            • Hierarchy leafInstallation on Centos 65 x64 with Apache and PostgreSQL 93
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 40
            • Hierarchy leafOP4 Debian Stable with MySQL in production
          • Expanded. Click to collapseCollapsed. Click to showMigration paths
            • Hierarchy leafFrom Chilliproject to OpenProject
            • Hierarchy leafMigration 15 to 30
            • Hierarchy leafMigration 24 to 30
            • Hierarchy leafMigration Redmine 2x › OpenProject 30
            • Hierarchy leafOpenProject 3 Migration
          • Hierarchy leafOpenProject 40
        • Expanded. Click to collapseCollapsed. Click to showNews
          • Hierarchy leafNew OpenProject Translations Plugin
          • Hierarchy leafNew Plugin on OpenProjectorg Local Avatars
          • Hierarchy leafNew design for OpenProject
          • Hierarchy leafNews Accessibility workshop for OpenProject
          • Hierarchy leafNews Glossary for OpenProject
          • Hierarchy leafNews Heartbleed fixed
          • Hierarchy leafNews Icon Fonts
          • Hierarchy leafNews OpenProject 30 Release
          • Hierarchy leafNews Release GitHub Integration Plugin
          • Hierarchy leafNews Success Story Deutsche Telekom
          • Hierarchy leafNews Timelines
          • Hierarchy leafOpenProject 3013 released
          • Hierarchy leafOpenProject 3017 released
          • Hierarchy leafOpenProject 40 released
          • Hierarchy leafOpenProject 40 will be coming soon
          • Hierarchy leafOpenProject 405 released
          • Hierarchy leafOpenProject and pkgrio
          • Hierarchy leafOpenProject news moved to a new blog
          • Hierarchy leafOpenProjectBitnami
          • Hierarchy leafPackager version with plugins released ("Community edition")
          • Hierarchy leafRegistration OpenProject-Foundation
          • Hierarchy leafRelease OpenProject AuthPlugins
          • Hierarchy leafUpdates on OpenProject
          • Hierarchy leafWe need your feedback for the the new fullscreen view for work packages
        • Hierarchy leafOpenProject Plug-Ins
      • Hierarchy leafWiki
You are here:
  • Forums
  • General discussion

Content

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

Added by Alexey Gagarin over 8 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 8 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 8 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 8 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 8 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 8 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 8 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 8 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...