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

Plugins
  1. OpenProject
  2. Forums
  3. Plugins
  4. Translation plugin: after install on settings page 500 error

Translation plugin: after install on settings page 500 error

Added by Kona World almost 10 years ago

Hi! I installed translations plugin using manual https://www.openproject.org/open-source/install-plugins/
After that i have seen plugin on /admin/plugins and at the same time i cann’t access /settings page.

I need plugin and I need /settings page too. How? =)
Log:

Started GET "/settings" for x.xx.xxx.xxx at 2015-06-17 10:31:07 +0300
Processing by SettingsController#index as HTML
  Rendered settings/_general.html.erb (34.1ms)
  Rendered settings/_display.html.erb (21.5ms)
  Rendered common/_tabs.html.erb (87.2ms)
  Rendered settings/edit.html.erb within layouts/admin (88.0ms)
Completed 500 Internal Server Error in 127.3ms

ActionView::Template::Error ("ar" is not a valid locale):
    35: 
    36:     <p><%= setting_check_box :accessibility_mode_for_anonymous %></p>
    37: 
    38:     <p id="setting_available_languages"><%= setting_multiselect :available_languages, all_lang_options_for_select(false) %></p>
    39: 
    40:     <p id="setting_default_language"><%= setting_select :default_language, all_lang_options_for_select(false) %></p>
    41: 
  lib/redmine/i18n.rb:64:in `ll'
  app/helpers/application_helper.rb:421:in `block in all_lang_options_for_select'
  app/helpers/application_helper.rb:421:in `collect'
  app/helpers/application_helper.rb:421:in `all_lang_options_for_select'
  app/views/settings/_display.html.erb:38:in `block in _app_views_settings__display_html_erb__3904012416681048146_75129280'
  app/views/settings/_display.html.erb:30:in `_app_views_settings__display_html_erb__3904012416681048146_75129280'
  app/views/common/_tabs.html.erb:62:in `block in _app_views_common__tabs_html_erb__3294351519746136594_76213020'
  app/views/common/_tabs.html.erb:60:in `each'
  app/views/common/_tabs.html.erb:60:in `_app_views_common__tabs_html_erb__3294351519746136594_76213020'
  app/helpers/application_helper.rb:214:in `render_tabs'
  app/views/settings/edit.html.erb:34:in `_app_views_settings_edit_html_erb__672556740316483416_76459340'
  app/controllers/settings_controller.rb:37:in `index'

Replies (3)

RE: Translation plugin: after install on settings page 500 error - Added by Robin Wagner almost 10 years ago

Hello Kona,

it’s difficult to determine the precise cause of this error. However, with OpenProject 4.2 you no longer need to install the translations plugin since it has been included in the core.
Therefore, this particular error should no longer occur. In addition, the translations are no longer limited to the core but there are also translations for OpenProject plugins included.
For more information on those changes, please take a look at the realease notes for OpenProject 4.2.

In order to avoid compatibility issues and reduce the complexity of the OpenProject installation & updates, you may also want to take a look at the OpenProject packaged installation which provides a much easier way to install and update OpenProject.
For a version which includes all the supported plugins, take a look at the packaged installation community.

Best regards,
Robin

RE: Translation plugin: after install on settings page 500 error - Added by Kona World almost 10 years ago

Robin Wagner wrote:

Hello Kona,

it’s difficult to determine the precise cause of this error. However, with OpenProject 4.2 you no longer need to install the translations plugin since it has been included in the core.
Therefore, this particular error should no longer occur. In addition, the translations are no longer limited to the core but there are also translations for OpenProject plugins included.
For more information on those changes, please take a look at the realease notes for OpenProject 4.2.

In order to avoid compatibility issues and reduce the complexity of the OpenProject installation & updates, you may also want to take a look at the OpenProject packaged installation which provides a much easier way to install and update OpenProject.
For a version which includes all the supported plugins, take a look at the packaged installation community.

Best regards,
Robin

Hello! I have installed version 4.0.10 (Mysql2) manual method (package installation breaks with fatal errors). Ok, will try to upgrade

RE: Translation plugin: after install on settings page 500 error - Added by Robin Wagner almost 10 years ago

Hello Kona,

yes we recommend to upgrade, especially since OpenProject 4.0.10 still contains a possible security issue which has been fixed since then.
After upgrading to OpenProject 4.2 (we recommend the current version OpenProject 4.2.5), you can then remove the translations plugin from the Gemfile.plugins (since it is now part of the core).
We therefore actually removed the translations plugin from the list of OpenProject plugins.

FYI: We always include the current, up-to-date translations committed via CrowdIn in the patch releases, so you automatically receive the newest translations when upgrading your OpenProject installation.

Best regards,
Robin

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