Mozilla.com/Localization: Difference between revisions

m
formatting (fantasai's comments underneath the accept headers solution)
m (formatting (fantasai's comments underneath the accept headers solution))
Line 62: Line 62:
i like the mozilla-europe.org-approach more (a folder for every language), with making it able for users to switch the language they use. an additional possibility would be to save the language used in a cookie, so that if the accept-language-header-value doesn't fit to the user's selection, this will be saved.
i like the mozilla-europe.org-approach more (a folder for every language), with making it able for users to switch the language they use. an additional possibility would be to save the language used in a cookie, so that if the accept-language-header-value doesn't fit to the user's selection, this will be saved.


== Some practical advice from mozilla-europe.org ==
'''Some practical advice from mozilla-europe.org'''<br/>
 
''Author: fantasai''<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.


'''Cons'''
'''Cons'''
''Author: fantasai''
* For specific documents people will always be linking the non-negotiated URLs
* For specific documents people will always be linking the non-negotiated URLs
* Doesn't handle partial translations (some files, not others)
* Doesn't handle partial translations (some files, not others)
Confirmed users, Bureaucrats and Sysops emeriti
3,599

edits