Difference between revisions of "Translation Policy"
(first (almost empty) draft) |
(first draft...) |
||
Line 1: | Line 1: | ||
-- DRAFT -- | -- DRAFT -- | ||
− | + | == Terminology == | |
+ | |||
+ | In this document: | ||
+ | ;original [page] | ||
+ | ;master page | ||
+ | : - refer to the original page (in the language used by the author) from which the translations are made; | ||
+ | ;translation [page] | ||
+ | : - refers to a page that contains a translation of an original page. | ||
+ | |||
+ | == Naming of translation pages == | ||
+ | |||
+ | A translation page should be named in the following format: | ||
+ | <pre> | ||
+ | <MasterPage>.<LangCode> | ||
+ | </pre> | ||
+ | where: | ||
+ | ;<tt><MasterPage></tt> | ||
+ | : is the name of the master page; | ||
+ | ;<tt><LangCode></tt> | ||
+ | : is the (2-digit lowercase) code ([https://secure.wikimedia.org/wikipedia/en/wiki/List_of_ISO_639-1_codes ISO 639-1]) of the language used by the translation. | ||
+ | |||
+ | So, the rule is: the translation page keeps the same (untranslated) name of the original page, plus a dot character followed by the 2-digit lowercase ISO 639-1 code of the language used by the translation. | ||
+ | |||
+ | Example: | ||
+ | The French translation of the '''<tt>Main_Page</tt>''' of this wiki should be named as '''<tt>Main_Page.fr</tt>'''. | ||
+ | |||
+ | == Language bar == | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | == Aligning existing translation pages to this policy == |
Revision as of 20:02, 27 January 2011
-- DRAFT --
Contents
Terminology
In this document:
- original [page]
- master page
- - refer to the original page (in the language used by the author) from which the translations are made;
- translation [page]
- - refers to a page that contains a translation of an original page.
Naming of translation pages
A translation page should be named in the following format:
<MasterPage>.<LangCode>
where:
- <MasterPage>
- is the name of the master page;
- <LangCode>
- is the (2-digit lowercase) code (ISO 639-1) of the language used by the translation.
So, the rule is: the translation page keeps the same (untranslated) name of the original page, plus a dot character followed by the 2-digit lowercase ISO 639-1 code of the language used by the translation.
Example: The French translation of the Main_Page of this wiki should be named as Main_Page.fr.