QLocale day of the week not translated on qt application
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qt4-x11 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello
I installed an Ubuntu 12.04 using Portuguese Brazil as default language but seems that the QLocale class is not working.
With the attached code snippet (calls 'name()' and 'dayName(1)' from 'QLocale:
"pt_BR"
"segunda-feira"
But the actual output is:
"pt_BR"
"Monday"
I also tested the same code snippet on other versions of Ubuntu and it worked as expected (tested on 10.04 and 13.10). Also installing libqtcore4 from Ubuntu 12.10 the same snippet starts to work as expected.
* To test the code snippet:
qmake
make
./test_locale
* Required commands outputs
lsb_release -rd
Description: Ubuntu 12.04.3 LTS
Release: 12.04
apt-cache policy libqtcore4
libqtcore4:
Instalado: 4:4.8.1-0ubuntu4.4
Candidato: 4:4.8.1-0ubuntu4.4
Tabela de versão:
*** 4:4.8.1-0ubuntu4.4 0
500 http://
500 http://
100 /var/lib/
4:
500 http://