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

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. [missing "pt-BR.js.label for WorkPackages

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

Added by Sergio Caixeta over 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)

RE: [missing "pt-BR.js.label for WorkPackages - Added by Deleted user over 10 years ago

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

RE: [missing "pt-BR.js.label for WorkPackages - Added by Sergio Caixeta over 10 years ago

Ok.
Tks Björn.

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

RE: [missing "pt-BR.js.label for WorkPackages - Added by Deleted user over 10 years ago

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.

RE: [missing "pt-BR.js.label for WorkPackages - Added by Sergio Caixeta over 10 years ago

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

RE: [missing "pt-BR.js.label for WorkPackages - Added by Emilio Arenas over 10 years ago

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

RE: [missing "pt-BR.js.label for WorkPackages - Added by Deleted user over 10 years ago

This should be fixed in the 4.0.5 release according to:
https://github.com/opf/openproject-translations/commit/ab38f8bd0149a834bf258c0a50626cee6c34a0f6#commitcomment-9064003

RE: [missing "pt-BR.js.label for WorkPackages - Added by Emilio Arenas over 10 years ago

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

RE: [missing "pt-BR.js.label for WorkPackages - Added by Sergio Caixeta over 10 years ago

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

Sergio Caixeta

RE: [missing "pt-BR.js.label for WorkPackages - Added by Robin Wagner over 10 years ago

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

RE: [missing "pt-BR.js.label for WorkPackages - Added by Sergio Caixeta over 10 years ago

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?

RE: [missing "pt-BR.js.label for WorkPackages - Added by Sergio Caixeta over 10 years ago

Open a New one:

#18339

RE: [missing "pt-BR.js.label for WorkPackages - Added by Robin Wagner over 10 years ago

Hello Sergio,

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

Best,
Robin

RE: [missing "pt-BR.js.label for WorkPackages - Added by Francesco Preti about 10 years ago

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

RE: [missing "pt-BR.js.label for WorkPackages - Added by Jan Sandbrink about 10 years ago

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

RE: [missing "pt-BR.js.label for WorkPackages - Added by Sergio Caixeta about 10 years ago

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)

RE: [missing "pt-BR.js.label for WorkPackages - Added by Jan Sandbrink about 10 years ago

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.

RE: RE: [missing "pt-BR.js.label for WorkPackages - Added by Sergio Caixeta over 9 years ago

Fixed at Version 4.2.8

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