Content
[missing "pt-BR.js.label for WorkPackages
Added by Sergio Caixeta almost 10 years ago
Hy guys;
In my OP 4.0.2 I configure all of steps to manual instalation use Ubuntu 12.
After all instalation and setting in Workpackges link I recevie this mensage:
missing "pt-BR.js.label.
I try to change the plugin Git to DEV, 4.0.0, 4.0.1, 4.0.2 and in locale folder the file “js-pt-BR.yml” is not downloaded.
To try to fix this I manually input the file, but after use the commands to update bundle and Rails, nothing change.
Some information:
1. I try to change the Gemfile.plugins to all branchs;
2. I use this commands to reload the Languages:
bundle install
RAILS_ENV=“production” bundle exec rake db:migrate —trace
RAILS_ENV=“production” bundle exec rake db:seed —trace
RAILS_ENV=“production” bundle exec rake assets:precompile —trace
touch ~/openproject/tmp/restart.txt
3. If you see, the link reference to Translation package is: “[missing ”pt-BR.js.toolbar.unselected_title" not “js-pt-BR”, but I don’t know if this is a code problem or a simple reference.
A attached image show the defect.
Tks to help-me.
Sergio.
Replies (17)
The latest tags (v4.0.1 and v.4.0.2) and as a result the stable branch is missing all the js-*.yml files. Which results translation errors for all users who selects other languages than english.
This is reported as a bug:
https://community.openproject.org/work_packages/17273
Ok.
Tks Björn.
to correct this I really need to wait the new Branch?
No, I don’t think you will have to wait for a new branch. You could copy the needed files from the DEV branch at github.
Then you have to clear your cache:
1. Delete the cache on your OpenProject system:
2. Delete translations.js
3. And finally run the bundle installer again:
I have not tried the above. But hopefully it will solve your problems.
Strange
I don’t have this folder in my installation (4.0.2) manual install:
I use the comand Find in linux and this files is on:
and:
And I try to use same commands in this folders.
No changes…
Help-me Björn Blissing
I have the same problem in Spanish language.
Title in work packages not display.
[missing “es.js.toolbar.unselected_title”…
[missing “es.js.toolbar.unselected_title” translation]
[missing “es.js.label_activate” translation] [missing “es.js.button_filter” translation]
I’ve log in translation project and I’ve see this line is translated, but in openproject not display.
I´ve attached a picture.
Thanks for all work!
Ver. 4.0.4
This should be fixed in the 4.0.5 release according to:
https://github.com/opf/openproject-translations/commit/ab38f8bd0149a834bf258c0a50626cee6c34a0f6#commitcomment-9064003
Hi, I have update the plugin to version 4.0.5 and still no working, some of them is translated correct but others not. I dont know if I need to do something more.
Using openproject-translations 4.0.5 from https://github.com/opf/openproject-translations.git (at stable)
Regards.
Emilio
Same Here.
I try to start a new instalation - Do not Work;
I Try to Update a current version - Do not Work.
Sergio Caixeta
Hello everyone,
thanks for reporting this issue.
One problem related to missing .js files has been resolved as mentioned by Björn Blissing.
There is apparently some problem with loading translations into the core. .
We’ll address this issue. The bug is tracked here:
Best,
Robin
Update some settings Here:
No effects to me, same error in workpackages like attached image.
Some a new ideas?
Open a New one:
#18339
Hello Sergio,
thanks for opening a bug.
This error (#18140, #18339) will be fixed soon (probably in 4.0.7).
Best,
Robin
Hi, i have the same problem with the italian translation.
Confirm that will be fixed in version 4.0.8?
Thank you very much.
Hello,
I was trying to reproduce and fix this issue on the current dev branch of the OpenProject core (which is going to be OpenProject 4.1).
However, I was not able to reproduce the issue there.
I tested the French translation which is quite complete and the Portuguese translation which is quite incomplete (good for my test purposes).
With both I see translations where translations are available and english strings where translations are missing:
Can anyone verify that the issue is already fixed when using both, the dev-branch of OpenProject and the dev branch of the translations plugin?
Best regards
Jan Sandbrink
Not to me. I use:
gem ‘openproject-translations’, :git => ‘https://github.com/opf/openproject-translations.git’, :branch => ‘dev’
My version is OpenProject 4.0.8 (Mysql2)
Sorry, I was unclear here:
I am talking about the dev-branch of the OpenProject core, not the translations-plugin.
I have clarified that in my original post.
Fixed at Version 4.2.8