AUR web interface

Tasklist

FS#32453 - Can't change back UI language from EN

Attached to Project: AUR web interface
Opened by Rafael Fontenelle (josephg) - Sunday, 04 November 2012, 12:19 GMT
Last edited by canyonknight (canyonknight) - Wednesday, 07 November 2012, 02:40 GMT
Task Type Bug Report
Category Backend
Status Closed
Assigned To canyonknight (canyonknight)
Lukas Fleischer (lfleischer)
Architecture All
Severity Low
Priority Normal
Reported Version 2.0.0
Due in Version 2.0.1
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I changed the UI language from my native language to EN (it works, changed to english), but I'm not able to change it back: I press the OK button to change to my native language, page is refreshed, but UI language is still in english.
This task depends upon

Closed by  canyonknight (canyonknight)
Wednesday, 07 November 2012, 02:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 2.0.1
Comment by canyonknight (canyonknight) - Sunday, 04 November 2012, 13:40 GMT
I'm having trouble reproducing this one.

- What language do you have set in your account preferences?
- What languages are you changing between using the drop down box?
Comment by Rafael Fontenelle (josephg) - Sunday, 04 November 2012, 13:49 GMT
I have "Portuguese (Brazil)" in my account preferences. In 2.0.0, I started with 'pt_br', set to 'en' to test translations, and then tried to get back to 'pt_br'.

When I try pt_br, I can see the addition of "?setlang=pt_br" in the URL, but the interface is in english and the dropdown box shows 'en'. Seems like it was not applied.

For what it's worth, I tried in Chromium and Firefox.
Comment by canyonknight (canyonknight) - Sunday, 04 November 2012, 14:13 GMT
  • Field changed: Status (Researching → Assigned)
"Português (Brasil)" should be "pt_BR" not "pt_br". It appears as if the language selection is incorrectly being converted to all lowercase.

This bug only affects "pt_BR", "pt_PT", and "zh_CN". A workaround in the short-term is to append "?setlang=pt_BR" to the URL.
Comment by Rafael Fontenelle (josephg) - Sunday, 04 November 2012, 14:15 GMT
Indeed. Thanks.
Comment by canyonknight (canyonknight) - Wednesday, 07 November 2012, 00:00 GMT

Loading...