Defect #20799
Incorrect language when set to Portuguese Brazilian
Status: | Needs feedback | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | I18n | |||
Target version: | - | |||
Resolution: | Affected version: | 3.1.1 |
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.
History
#1
Updated by Toshi MARUYAMA over 7 years ago
- Category changed from Translations to I18n
#2
Updated by Toshi MARUYAMA over 7 years ago
- Status changed from New to Needs feedback
Try "bundle exec rake tmp:cache:clear tmp:sessions:clear RAILS_ENV=production".
#3
Updated by Fernando Possebon over 7 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
#4
Updated by Toshi MARUYAMA over 7 years ago
Did you try #2691?