Difference between revisions of "Paradatabase:Language policy"

From paradatabase
Jump to navigation Jump to search
m
(Marked this version for translation)
Line 18: Line 18:
 
Prefixes intended for creating texts in other languages are ''language  prefixes''. The name of each language prefix is the system language code, starting with a capital letter with an exclamation point and a space after it. For example: <code>"Fr! " &nbsp; "De! " &nbsp; "Ru! "</code>
 
Prefixes intended for creating texts in other languages are ''language  prefixes''. The name of each language prefix is the system language code, starting with a capital letter with an exclamation point and a space after it. For example: <code>"Fr! " &nbsp; "De! " &nbsp; "Ru! "</code>
  
Additionally, you can read</translate> [[{{#plang:mediawikiwiki:Manual:Language}}|<translate>About languages in MediaWiki</translate>]] and [https://phabricator.wikimedia.org/source/mediawiki/browse/master/languages/data/Names.php <translate><!--T:9--> Language codes</translate>].
+
<!--T:16-->
 +
Additionally, you can read</translate> [[{{#plang:mediawikiwiki:Manual:Language}}|<translate><!--T:17--> About languages in MediaWiki</translate>]] and [https://phabricator.wikimedia.org/source/mediawiki/browse/master/languages/data/Names.php <translate><!--T:9--> Language codes</translate>].
  
 
<translate><!--T:7-->
 
<translate><!--T:7-->
Line 24: Line 25:
  
 
<translate>
 
<translate>
 +
<!--T:18-->
 
Subpages that are translations of the source page for which the name of the subpage is a language code are called “language subpages”.
 
Subpages that are translations of the source page for which the name of the subpage is a language code are called “language subpages”.
  

Revision as of 04:15, 6 May 2019

Other languages:
Deutsch • ‎English • ‎français • ‎italiano • ‎русский

Basic language is English.

By default, the source text and the name of the page are created in English.

To create the source text in another (non-English) language, it is necessary to use the prefix in the page name:
language code - exclamation mark - space.
The language code must begin with a capital letter.
For example: "Fr! "   "De! "   "Ru! "

Pages can have translations into other languages, which are subpages of the source page. The subpage name is the language code.
For example: "/fr"   "/de"   "/ru "

Prefixes intended for creating texts in other languages are language prefixes. The name of each language prefix is the system language code, starting with a capital letter with an exclamation point and a space after it. For example: "Fr! "   "De! "   "Ru! "

Additionally, you can read About languages in MediaWiki and Language codes.

Each page can have subpages. The full name of the subpage is obtained by adding a slash and the subpage name: ParentPageName/SubpageName

Subpages that are translations of the source page for which the name of the subpage is a language code are called “language subpages”.


For example, without language prefix:

  • Source page - English
  • Source page/fr - translation of "Source page" in French
  • Source page/de - translation of "Source page" in German

For example, with the prefix "Fr! ":

  • Fr! Page source Fr - French
  • Fr! Page source Fr/de - translation of "Fr! Page source Fr" in German
  • Fr! Page source Fr/en - translation of "Fr! Page source Fr" in English