Project

General

Profile

Actions

Defect #20799

closed

Incorrect language when set to Portuguese Brazilian

Added by Fernando Possebon about 9 years ago. Updated 2 months ago.

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

0%

Estimated time:
Resolution:
Cant reproduce
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 about 9 years ago

  • Category changed from Translations to I18n
Actions #2

Updated by Toshi MARUYAMA about 9 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 about 9 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 about 9 years ago

Did you try #2691?

Actions #5

Updated by Go MAEDA 2 months ago

  • Status changed from Needs feedback to Closed
  • Resolution set to Cant reproduce
Actions

Also available in: Atom PDF