[Bug 1182240] [NEW] Brazilian Portuguese language errorpage directory
Lyxbit
1182240 at bugs.launchpad.net
Mon May 20 21:42:07 UTC 2013
Public bug reported:
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
** Affects: squid3 (Ubuntu)
Importance: Undecided
Status: New
** Tags: internationalization language translation
** Description changed:
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 -4
+ 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
--
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
More information about the Ubuntu-server-bugs
mailing list