Project

General

Profile

Actions

Defect #20799

open

Incorrect language when set to Portuguese Brazilian

Added by Fernando Possebon over 8 years ago. Updated over 8 years ago.

Status:
Needs feedback
Priority:
Normal
Assignee:
-
Category:
I18n
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

I'm using the Redmine 3.1.1 version and when I set the default language or the user language preference to Portuguese Brazilian, the Redmine loads the Portuguese language.

I looked at database on settings table, to check if the information was written correct there, and there is stored the value pt-BR.

I looked at config/locales folders and there is a pt-BR.yml file there, with all values.

I did a test: renamed the pt.yml (Portuguese Portugal) and restarted the Redmine application. After the rename, Redmine starts in English.

That's means that even the language is set to pt-BR, Redmine looks for the pt.yml file.

Actions #1

Updated by Toshi MARUYAMA over 8 years ago

  • Category changed from Translations to I18n
Actions #2

Updated by Toshi MARUYAMA over 8 years ago

  • Status changed from New to Needs feedback

Try "bundle exec rake tmp:cache:clear tmp:sessions:clear RAILS_ENV=production".

Actions #3

Updated by Fernando Possebon over 8 years ago

Toshi MARUYAMA wrote:

Try "bundle exec rake tmp:cache:clear tmp:sessions:clear RAILS_ENV=production".

Toshi, I did what you suggest and the behavior is the same. Still uses the pt.yml

Actions #4

Updated by Toshi MARUYAMA over 8 years ago

Did you try #2691?

Actions

Also available in: Atom PDF