← Back to team overview

documentation-packages team mailing list archive

[Bug 1000049] Re: Help pages all in Chinese with no Accept-Language

 

Note that the directives do not work as the apache documentation says
they should.

Test results that lead to Gunnar's change above:

Server = 12.04 (Apache 2.2):

Browswer = no language preference list:

1.) No .htaccess file at all: Result: English
2.) .htaccess with only "LanguagePriority en". Result: English
3.) .htaccess with only "LanguagePriority zh-CN". Result: Chinese
4.) .htaccess with "LanguagePriority zh-CN" and "ForceLanguagePriority Fallback". Result: Chinese
5.) .htaccess with "LanguagePriority en" and "ForceLanguagePriority Fallback". Result: Chinese
6.) .htaccess with only "ForceLanguagePriority Fallback". Result: Chinese
7.) No .htaccess file at all: Result: English (Sanity check)
8.) .htaccess with only "LanguagePriority en". Result: English
9.) .htaccess with only "LanguagePriority zh-CN". Result: Chinese
10.) .htaccess with only "LanguagePriority en". Result: English

11.) .htaccess with only "LanguagePriority de". Result: German
12.) .htaccess with "LanguagePriority de" and "ForceLanguagePriority Fallback". Result: Chinese
13.) .htaccess with "LanguagePriority de" and "ForceLanguagePriority Prefer Fallback". Result: German
14.) .htaccess with "LanguagePriority zz" and "ForceLanguagePriority Prefer Fallback". Result: Chinese
15.) .htaccess with only "ForceLanguagePriority Prefer Fallback". Result: English

Now, .htaccess with "LanguagePriority de" and "ForceLanguagePriority
Prefer Fallback":

16.) Language preference French. Result: French
17.) Language preference Afrikaans. Result: German (Note: we do not have this language).
18.) Language preferences en then en-US (my original settings). Result: English

19.) No .htaccess at all and Language preference Afrikaans. Result: English
20.) .htaccess with only "LanguagePriority de" and Language preference Afrikaans. Result: German
21.) .htaccess with "LanguagePriority de" and "ForceLanguagePriority Prefer" and Language preference Afrikaans. Result: Firefox doesn't know what to do and asks me. Click O.K. to open with firefox and get a mess, albeit an English mess.
22.) .htaccess with "LanguagePriority de" and "ForceLanguagePriority Prefer Fallback" and Language preference Afrikaans. Result: German


Server = 14.04 (Apache 2.4):

Browswer = no language preference list:

1.) No .htaccess file at all: Result: English
2.) .htaccess with only "LanguagePriority de". Result: German
3.) .htaccess with "LanguagePriority de" and "ForceLanguagePriority Fallback". Result: Chinese
4.) .htaccess with only "ForceLanguagePriority Fallback". Result: Chinese
5.) .htaccess with "LanguagePriority zz" and "ForceLanguagePriority Fallback". Result: Chinese
6.) .htaccess with "LanguagePriority zz" and "ForceLanguagePriority Prefer Fallback". Result: Chinese
7.) .htaccess with only "ForceLanguagePriority Prefer Fallback". Result: English

Now, .htaccess with "LanguagePriority de" and "ForceLanguagePriority
Prefer Fallback":

8.) Language preference French. Result: French
9.) Language preference Afrikaans. Result: German (Note: we do not have this language).
10.) No .htaccess at all and Language preference Afrikaans. Result: English
11.) .htaccess with only "LanguagePriority de" and Language preference Afrikaans. Result: German
12.) .htaccess with "LanguagePriority de" and "ForceLanguagePriority Prefer" and Language preference Afrikaans. Result: Firefox doesn't know what to do and asks me. Click O.K. to open with firefox and get a mess, albeit an English mess.
13.) .htaccess with "LanguagePriority de" and "ForceLanguagePriority Prefer Fallback" and Language preference Afrikaans. Result: German

-- 
You received this bug notification because you are a member of
Documentation Packages, which is subscribed to ubuntu-docs in Ubuntu.
https://bugs.launchpad.net/bugs/1000049

Title:
  Help pages all in Chinese with no Accept-Language

Status in “ubuntu-docs” package in Ubuntu:
  Fix Committed

Bug description:
  If you go to any help page on help.ubuntu.com, for example:

  https://help.ubuntu.com/12.04/ubuntu-help/index.html

  And you happen to be using a browser which does not send an Accept-
  Language header, the page will be shown in Chinese. No option or link
  is visible allowing the page to be shown in another language.
  Confirmed using source IP addresses from 3 countries, none of them
  China, so it doesn't seem to be geolocated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-docs/+bug/1000049/+subscriptions