[Bug 1182240] Re: Brazilian Portuguese language errorpage directory
I am re-opening this due to the closure being based on an assumption that the original report was accurate. pt-bz refers to Portuguese reading/writing citizens of Belize (NOT Brazil). Which is a valid ISO code missing from the squid-langpack package. Any information on whether Belize Portuguese dialect can be presented with Brazillian or European Portuguese texts or whether they require a third translation is very welcome. Until then upstream will contain a symlink entry for pt-bz to pt-br based on the geographical distance for dialect locale. ** Changed in: squid3 (Ubuntu) Status: Invalid = New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in Ubuntu. https://bugs.launchpad.net/bugs/1182240 Title: Brazilian Portuguese language errorpage directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1182240/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1182240] Re: Brazilian Portuguese language errorpage directory
Thanks Amos. http://www.squid-cache.org/Versions/langpack/ suggests that there should be a pt, and when I try that, I seem to get some Portuguese back (although it doesn't look like all strings are supported). However, pt- bz doesn't seem to alias to it. ** Summary changed: - Brazilian Portuguese language errorpage directory + squid3 does not have pt-bz language support ** Changed in: squid3 (Ubuntu) Importance: Undecided = Wishlist -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in Ubuntu. https://bugs.launchpad.net/bugs/1182240 Title: squid3 does not have pt-bz language support To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1182240/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 1182240] Re: Brazilian Portuguese language errorpage directory
Hi Amos, Actually the Portuguese is not among Belize languages ( http://en.wikipedia.org/wiki/Languages_of_Belize). BZ is the ISO 3166 Code for Belize country, however this issue happens when the chosen mobile phone interface language is Brazilian Portuguese. My SQUID environment is serving traffic coming from mobile browsers. I checked this issue for some Motorola and LG mobile phones, their developers didn't adopt the correct Brazil's ISO 3166 Code. A symlink entry for pt-bz to pt-br is enough workaround. Regards, Igor Le Masson 2013/5/22 Amos Jeffries 1182...@bugs.launchpad.net I am re-opening this due to the closure being based on an assumption that the original report was accurate. pt-bz refers to Portuguese reading/writing citizens of Belize (NOT Brazil). Which is a valid ISO code missing from the squid-langpack package. Any information on whether Belize Portuguese dialect can be presented with Brazillian or European Portuguese texts or whether they require a third translation is very welcome. Until then upstream will contain a symlink entry for pt-bz to pt-br based on the geographical distance for dialect locale. ** Changed in: squid3 (Ubuntu) Status: Invalid = New -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1182240 Title: Brazilian Portuguese language errorpage directory Status in “squid3” package in Ubuntu: New Bug description: On version 3.1.20, the Brazilian Portuguese language abbreviation is defined as pt-bz instead of pt-br in errorpage.cc. Of course this can be solved with error_default_language option in squid.conf (http://wiki.squid-cache.org/Translations), however the abbreviation pt-bz does not exist. root@vm03:~# echo $LC_NAME pt_BR root@vm03:~# egrep -e errorpage|Language /var/log/squid3/cache.log|tail -3 2013/05/20 18:08:46| errorpage.cc(293) errorTryLoadText: '/usr/share/squid3/errors/pt-bz/ERR_DNS_FAIL': (2) No such file or directory 2013/05/20 18:08:46| WARNING: Error Pages Missing Language: pt-bz 2013/05/20 18:09:06| errorpage.cc(293) errorTryLoadText: '/usr/share/squid3/errors/pt-bz/ERR_DNS_FAIL': (2) No such file or directory root@vm03:~# ls -d /usr/share/squid3/errors/pt* /usr/share/squid3/errors/pt /usr/share/squid3/errors/pt-br /usr/share/squid3/errors/pt-pt To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1182240/+subscriptions -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in Ubuntu. https://bugs.launchpad.net/bugs/1182240 Title: squid3 does not have pt-bz language support To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1182240/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1182240] Re: Brazilian Portuguese language errorpage directory
Thank you for taking the time to report this bug and helping to make Ubuntu better. I can reproduce this problem as it appears in your cache.log with the command: http_proxy=http://localhost:3128/ curl -H 'Accept-Language: pt-bz' http://nonexistent.example.com It looks like squid is simply looking for the language requested by the HTTP client, which is the incorrect one in your case. Thus I don't believe that this is a problem in squid3, but rather in your HTTP client or its configuration. As such, I'm marking this bug as Invalid in squid3. If you disagree, please explain why you think this is a bug in squid3, and then change the bug status back to New. Thanks! ** Changed in: squid3 (Ubuntu) Status: New = Invalid -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in Ubuntu. https://bugs.launchpad.net/bugs/1182240 Title: Brazilian Portuguese language errorpage directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1182240/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs