[Bug 1182240] Re: Brazilian Portuguese language errorpage directory
Igor Le Masson
1182240 at bugs.launchpad.net
Thu May 23 01:23:19 UTC 2013
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 <1182240 at 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 at vm03:~# echo $LC_NAME
> pt_BR
> root at 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 at 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
More information about the Ubuntu-server-bugs
mailing list