Difference between revisions of "Criminal Defense Wiki:Language policy"

From Criminal Defense Wiki
Jump to navigationJump to search
Line 10: Line 10:
 
* If an international version of a page exists but an English version does not, then please create a stub article for the English version as this aids navigation.
 
* If an international version of a page exists but an English version does not, then please create a stub article for the English version as this aids navigation.
 
* All pages in the help namespace should be tagged with the <code>{{[[template:Languages|Languages]]}}</code> template, which automatically creates links to all available translations.
 
* All pages in the help namespace should be tagged with the <code>{{[[template:Languages|Languages]]}}</code> template, which automatically creates links to all available translations.
 
This system will be compatible with the planned [[Automating help page export|automated import/export of Help pages]], but may need a bit of working around to export/import non-English pages in the interim.
 
  
 
== The main page ==
 
== The main page ==
  
The English version of our front page is located at [[Criminal Defense Wiki]].  Translated versions are located at Criminal Defense Wiki/code, where code is the language code (e.g. [[MediaWiki/fr]]).  Please see [[Project:Main page templates]] for more details about creating or editing this content.
+
The English version of our front page is located at [[Criminal Defense Wiki|IBJ_Defense_Wiki_-_The_Wiki_for_Criminal_Defense_Attorneys]].  Translated versions are located at Criminal Defense Wiki/code, where code is the language code (e.g. [[Criminal Defense Wiki/fr|IBJ_Defense_Wiki_-_The_Wiki_for_Criminal_Defense_Attorneys/fr]]).  Please see [[Project:Main page templates]] for more details about creating or editing this content.
  
 
Importantly, the rules about language codes (see [[#Language codes|below]]) should be followed here as well.
 
Importantly, the rules about language codes (see [[#Language codes|below]]) should be followed here as well.
 
== Other namespaces ==
 
 
Apart from the Main Page, no policy has yet been decided about other namespaces.  For the time being, if you would like to create translations for pages in other namespaces then please do so as described for the Help: namespace, however content may be moved or deleted depending on the policy that is eventually adopted.
 
 
Discussion is ongoing at [[Project:Current issues#Localisation outside the Help: namespace|Project:Current issues]].
 
 
''Note that the rule that English content should not be placed in sub-pages does not apply to other namespaces.  This is one of the issues that needs resolving.''
 
  
 
== Language codes ==
 
== Language codes ==
Line 32: Line 22:
  
 
For reference:
 
For reference:
* English language pages should not have a language code.  (IE. [[Content]])
+
* English language pages should not have a language code.  (IE. [[Rwanda]])
* French language pages should use the language code "fr".  (IE. [[Content/fr]])
+
* French language pages should use the language code "fr".  (IE. [[Rwanda/fr]])
  
 
Please also bear the following in mind:
 
Please also bear the following in mind:
* If the language code is not found in Names.php then we should not host help pages in that language.   
+
* If the language code is not found in Names.php then we should not host pages in that language.   
* If you want to add a language that is not present, first get it added to the software (by making a request at [[Bugzilla]]) and only add pages here once the changes have been accepted.
 
 
* Note that some language codes in Names.php are now deprecated (e.g. <tt>zh-yue</tt> has been replaced with <tt>yue</tt>).  In these cases only the most recent code should be used.
 
* Note that some language codes in Names.php are now deprecated (e.g. <tt>zh-yue</tt> has been replaced with <tt>yue</tt>).  In these cases only the most recent code should be used.
  

Revision as of 16:26, 12 November 2010

Globe3.png English

This page describes the current multi-lingual policy on the Criminal Defense Wiki.

Languages

Help: namespace

  • English is the main reference language, and all root pages should be named and written in English.
  • Other languages should be placed in an appropriately named sub-page of the English version. E.g. the French version of Contents should be at Contents/fr (not Sommaire, Sommaire or Sommaire/fr).
  • Language sub-pages should be named using the appropriate language code for that language (see below).
  • Sub-pages should only be used for translations into other languages, not for English content (e.g. you shouldn't use Table editing/example - use Table editing example or Example of table editing instead).
  • If an international version of a page exists but an English version does not, then please create a stub article for the English version as this aids navigation.
  • All pages in the help namespace should be tagged with the {{Languages}} template, which automatically creates links to all available translations.

The main page

The English version of our front page is located at IBJ_Defense_Wiki_-_The_Wiki_for_Criminal_Defense_Attorneys. Translated versions are located at Criminal Defense Wiki/code, where code is the language code (e.g. IBJ_Defense_Wiki_-_The_Wiki_for_Criminal_Defense_Attorneys/fr). Please see Project:Main page templates for more details about creating or editing this content.

Importantly, the rules about language codes (see below) should be followed here as well.

Language codes

Throughout the Criminal Defense Wiki you should use the language codes specified by the MediaWiki software when creating language-specific content (see Names.php for the full and up-to-date list).

For reference:

  • English language pages should not have a language code. (IE. Rwanda)
  • French language pages should use the language code "fr". (IE. Rwanda/fr)

Please also bear the following in mind:

  • If the language code is not found in Names.php then we should not host pages in that language.
  • Note that some language codes in Names.php are now deprecated (e.g. zh-yue has been replaced with yue). In these cases only the most recent code should be used.

See also