Closed Bug 212943 Opened 22 years ago Closed 22 years ago

web page language preference not taken into account

Categories

(Core :: Internationalization, defect)

x86
Linux
defect
Not set
major

Tracking

()

VERIFIED INVALID

People

(Reporter: kocsz, Assigned: smontagu)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.3.1) Gecko/20030428 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.3.1) Gecko/20030428 In the directory at http://zazie.org.free.fr/test/ there are 3 files with the same basename (test.php) : test.php.en, test.php.eo, test.php.fr. When you try to access http://zazie.org.free.fr/test/test.php, Apache sends the correct page depending on your language preference. This works for french (fr) and english (en), but this does not work for esperanto (eo). Reproducible: Always Steps to Reproduce: 1.Open the Preferences/Browser/Languages dialog 2.Add "English (en)", "French (fr)", "Esperanto (eo)" 3.Move English to the top and close the dialog 4.Load http://zazie.org.free.fr/test/test.php, you should see "English" 5.Reopen the dialog and move "French" to the top. 6.Reload and you should see "Français" 7.Reopn the dialog and move "Esperanto" to the top. 8.Reload and you should NOT see "Esperanto". Actual Results: The web page written in Esperanto is not loaded. I see the french or english version depending which one is closest to the top of the list in the preferences. Expected Results: I expected the Esperanto web page to be loaded as my preference is set to "Esperanto". My Mozilla version is running with french UI (it should not be related to web page settings, though).
it's a server issue, free.fr Apache configuration has to be modified: AddLanguage eo .eo see: http://www-106.ibm.com/developerworks/web/library/wa-apac.html I believe same happens with IE.
Sorry if this bug is not related to Mozilla. The fact is that I experienced the same problem with Apache 2.0.45 on my own machine running Mandrake 9.1 and the same thing happened, so I assumed that this came from Mozilla and not from Apache. I have tested with Konqueror but I could not find where to configure the languages at all. So Apache should come standard with all languages extensions, but that's not the right place to say that I guess. Thanks. Greg
Yes, this is has to be done on the server-side. You can check what 'acceptable languages' Mozilla is sending at http://www.gemal.dk/browserspy/accept.cgi .
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Greg, just to verify, can you add the following to your Apache 2.0.45 setup: AddLanguage eo .eo and see if it works better.
Yes, it works after adding : AddLanguage eo .eo to Apache's "commonhttpd.conf" file. I've sent the idea to Apache's bugzilla. You can delete this bug report I think. Sorry for the annoyance. :-( Greg
Mark as verified per comment above.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.