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@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

** 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@vm03:~# echo $LC_NAME
  pt_BR
- root@vm03:~# egrep -e "errorpage|Language" /var/log/squid3/cache.log | tail -4
+ 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

-- 
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

Reply via email to