Firefox2/L10n Requirements: Difference between revisions

Line 71: Line 71:


* (P1) To provide a consistent user experience and quality of service worldwide, all Mozilla web content will be hosted on mozilla.com or mozilla.org
* (P1) To provide a consistent user experience and quality of service worldwide, all Mozilla web content will be hosted on mozilla.com or mozilla.org
* (P1) ''With the exception of the start page'', described below, all URLs that point to mozilla can be generated by added the locale as the first element in the path (eg, http://www.mozilla.com/en-US/firefox).  This will display the localized page if available, fall back to a similar locale if available (eg, use es-ES if an es-AR page does not exist), and finally fall back to en-US as a last resort.
* (P1) ''With the exception of the start page, described below'', all URLs that point to mozilla can be generated according to the following formula: http[s]://%LOCALE%.%SERVICE%.mozilla.com/%LOCALE%/%APP%[/%VERSION%]/... (eg, http://en-US.www.mozilla.com/en-US/firefox/community).  This will display the localized page if available, fall back to a similar locale if available (eg, use es-ES if an es-AR page does not exist), and finally fall back to en-US as a last resort.  %VERSION% is used for all links to addons.mozilla.com, otherwise only where necessary.
* (P2) Now that URLs are of a standard format, we can begin to generate them in the code and remove them from the locale files.
* (P2) Now that URLs are of a standard format, we can begin to generate them in the code and remove them from the locale files ({{bug|347944}} and {{bug|348076}})
* (P2) URLs should use a localized site when available.  If one is not available, you could use the English site or request approval for an appropriate local substitute.
* (P2) URLs should use a localized site when available.  If one is not available, you could use the English site or request approval for an appropriate local substitute.
* (P1) If an English site is used when a localized site is not available, the name must indicate such by appending " [en]".
* (P1) If an English site is used when a localized site is not available, the name must indicate such by appending " [en]".
64

edits