Mozilla.com/Localization: Difference between revisions

Jump to navigation Jump to search
Line 59: Line 59:
(NS3) Identify Users by IP address: "You are here" either by flag or map. Make sure they have a choose for download (like french/dutch for belgians or swedish/finnish in Finland) BUT always english (I hate to have a forced finnish Firefox). (IMP3)Quite easy, in spreadfirefox this may be introduced in the future. We can as Ian Hayward for the tools. (P) easy to implement, direct recognision of localization, personal. (C) Privicy, do people like to be identified. We need disclamer to explain.
(NS3) Identify Users by IP address: "You are here" either by flag or map. Make sure they have a choose for download (like french/dutch for belgians or swedish/finnish in Finland) BUT always english (I hate to have a forced finnish Firefox). (IMP3)Quite easy, in spreadfirefox this may be introduced in the future. We can as Ian Hayward for the tools. (P) easy to implement, direct recognision of localization, personal. (C) Privicy, do people like to be identified. We need disclamer to explain.


== Use Accept-Language Headers ==
== Straight-up Language Negotiation ==
Use Apache's support for [http://httpd.apache.org/docs/2.0/content-negotiation.html content negotiation] to serve the pages in the language requested by the browser's "Accept-Language" header.
Use Apache's support for [http://httpd.apache.org/docs/2.0/content-negotiation.html content negotiation] to serve the pages in the language requested by the browser's "Accept-Language" header.


Line 83: Line 83:
Obviously, there should be a prominent link for, say, users who travel from the U.S. to China and have no idea what they're looking at.
Obviously, there should be a prominent link for, say, users who travel from the U.S. to China and have no idea what they're looking at.


== Language-Negotiation into Language-specific Directory Tree ==
'''Some practical advice from mozilla-europe.org'''<br/>
'''Some practical advice from mozilla-europe.org'''<br/>
The home page uses Accept-Language Headers to redirect to appropriate to the appropriate directory, named after the language code, e.g. /fr/ for FR-fr users. When they are there, no more language sniffing is done, which enables them to switch language if needed, using the list of links in the page footer.
The home page uses Accept-Language Headers to redirect to appropriate to the appropriate directory, named after the language code, e.g. /fr/ for FR-fr users. When they are there, no more language sniffing is done, which enables them to switch language if needed, using the list of links in the page footer.
'''Pros'''
* Allows overrides


'''Cons'''
'''Cons'''
Confirmed users
104

edits

Navigation menu