On Thu, 27 Mar 2014, Rafael Ferreira wrote:
Right. Now I remember that I discussed this issue with Andrea in https://bugzilla.gnome.org/show_bug.cgi?id=710939 When I removed English from language list of Chromium, it appears in Portuguese. Basically, if English is listed in my language list (which was as *lowest* priority, after Portuguese and Portuguese (Brazil) ), GNOME websites appear in English, while IMHO it should behave just as a fallback.
I'm very surprised after a few tests I just ran: 1. every single language works fine when configured as the first preference on your browser. You can test this by selecting 'af', which stands on the latest spots on the LanguagePriority list. You will see [1] showing up half translated. (I suppose some of the translations are still missing for that specific locale) 2. pt_BR is the only affected locale that does not show up properly even when selected as the very first locale on your browser. 3. curl shows success but chrome and firefox are not working as expected: curl -iI -H 'Accept-Language: pt_BR,en_GB;q=0.7,en;q=0.6' https://help.gnome.org HTTP/1.1 200 OK Date: Thu, 27 Mar 2014 14:26:34 GMT Server: Apache/2.2.15 (Red Hat) Content-Location: index.html.pt_BR Vary: negotiate,accept-language,Cookie TCN: choice Last-Modified: Thu, 27 Mar 2014 13:36:52 GMT ETag: "4404a6-1c22-4f596ad8d38cd" Accept-Ranges: bytes Content-Length: 7202 Content-Type: text/html; charset=UTF-8 Content-Language: pt_br Connection: close httpd.conf has: AddLanguage pt-br .pt_BR AddLanguage pt_BR .pt_BR I tried adding: AddLanguage pt_br .pt_BR but it didn't help. Rafael can you test the above as well? specifically check that: 1. the only "broken" language not showing up is pt_BR 2. selecting other languages != from pt_BR works, for example try with 'af' or 'sq' which are the latest entries on LanguagePriority as you can see from this excerpt: LanguagePriority en ca cs da de el eo es et fr he hr hu it ja ko ltz nl nn no pl pt pt_br pt_BR ru sv tr zh-CN zh-TW uk eu af sq be latn 3. test the above with curl 4. test the above with both chrome and firefox Thanks! -- Cheers, Andrea Debian Developer, Fedora / EPEL packager, GNOME Sysadmin Team Coordinator, GNOME Foundation Membership & Elections Committee Chairman Homepage: http://www.gnome.org/~av
Attachment:
signature.asc
Description: Digital signature