Bug 1311675

Summary: Error pages not fully localised
Product: Red Hat Enterprise Linux 6 Reporter: Martin Frodl <mfrodl>
Component: squidAssignee: Luboš Uhliarik <luhliari>
Status: CLOSED WONTFIX QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: low Docs Contact:
Priority: low    
Version: 6.7CC: luhliari, thozza
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-16 13:11:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Martin Frodl 2016-02-24 17:31:57 UTC
Description of problem:

squid's error_default_language directive makes it possible to display error
pages in dozens of different languages. However, many of these pages are only
partially translated, containing a mixture of English with the selected
language.

Version-Release number of selected component (if applicable):
squid-3.1.23-9.el6

Steps to Reproduce:
# echo 'error_default_language zh-tw' >> /etc/squid/squid.conf
# service squid start

When opening http://localhost:3128/ in a web browser, we get this:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The following error was encountered while trying to retrieve the URL: /

    不正確的位置

Some aspect of the requested URL is incorrect.

Some possible problems are:

    缺少或不正確的通訊協定宣告(應該是 "http://" 或是類似的開頭)

    缺少欲連結的主機名稱

    不合法的網站連結路徑(缺少 "//")

    欲連結的主機名稱包含不合法的字元;底線這個字元是不被允許存在的。

Your cache administrator is root.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

For some languages, the whole page is correctly translated (e.g. Latvian,
Ukrainian). For other, the translation is incomplete, such as shown above.
Finally, the translation of this page is missing altogether for Indonesian and
Serbian Cyrillic.

I did not go through every error page for every language available (there is
hundreds of such combinations). I can provide more details on demand.

Comment 3 Luboš Uhliarik 2016-08-16 12:24:50 UTC
I reported this bug to upstream: http://bugs.squid-cache.org/show_bug.cgi?id=4568

This bug applies even to the latest upstream squid version 4, so we have to wait, till upstream comes with the translation.

Comment 4 Luboš Uhliarik 2016-08-16 13:11:17 UTC
Red Hat Enterprise Linux version 6 is entering the Production 2 phase of its
lifetime and this bug doesn't meet the criteria for it, i.e. only high severity
issues will be fixed. Please see
https://access.redhat.com/support/policy/updates/errata/ for further
information.

This issue is tracked as a bug #4568 in upstream bug tracker (http://bugs.squid-cache.org/show_bug.cgi?id=4568).