Open link in a new tab

Content

Expand project menu

[missing "pt-BR.js.label for WorkPackages

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.

Message actions

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

Message actions

Ok.
Tks Björn.

to correct this I really need to wait the new Branch?

Message actions

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:

rm -r temp/cache/*

2. Delete translations.js

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

3. And finally run the bundle installer again:

    bundle install
    RAILS_ENV="production" bundle exec rake db:migrate
    RAILS_ENV="production" bundle exec rake db:seed
    RAILS_ENV="production" bundle exec rake assets:precompile
    touch ~/openproject/tmp/restart.txt

I have not tried the above. But hopefully it will solve your problems.

Message actions

Strange

I don’t have this folder in my installation (4.0.2) manual install:

public/javascripts/i18n/translations.js

I use the comand Find in linux and this files is on:

/home/openproject/.rvm/gems/ruby-2.1.4/gems/i18n-js-3.0.0.rc6/app/assets/javascripts/i18n/translations.js

and:

/home/openproject/.rvm/gems/ruby-2.1.4/gems/i18n-js-3.0.0.rc6/spec/js/translations.js

And I try to use same commands in this folders.

No changes…

Help-me Björn Blissing

Message actions

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

Message actions
Message actions

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

Message actions

Same Here.
I try to start a new instalation - Do not Work;
I Try to Update a current version - Do not Work.

Sergio Caixeta

Message actions

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

Message actions

Update some settings Here:

  • Change Versions to 4.0.0, DEV, 4.0.5;
  • Remove and Reinstall plugin;

No effects to me, same error in workpackages like attached image.

Some a new ideas?

Message actions

Open a New one:

#18339

Message actions

Hello Sergio,

thanks for opening a bug.
This error (#18140, #18339) will be fixed soon (probably in 4.0.7).

Best,
Robin

Message actions

Hi, i have the same problem with the italian translation.
Confirm that will be fixed in version 4.0.8?
Thank you very much.

Message actions

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:

Portuguese translation working for me

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

Message actions

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)

Message actions

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.

Message actions

Fixed at Version 4.2.8