Difference between revisions of "CreationKit:Language policy"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>JustinOther
m (Reverted edits by Cipscis (talk) to last revision by Plplecuyer)
imported>Cipscis
m (Reverted edits by Nobe (talk) to last revision by Cipscis)
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
== Barre de langues ==
== Languages Bar ==


Une '''Barre de langues''' a été obtenus en utilisant le modèle de navigation de [[Template:Languages|Langues]] afin de simplifier pour le lecteur la visualisation de chaque traduction disponible pour la page courante et ainsi naviguer vers ces pages traduites. Le modèle simplifie également pour les éditeurs la mise en place d'un lien vers ces pages traduites depuis la page anglaise originale (et vice versa).
A '''languages bar''' has been provided using the [[Template:Languages|Languages]] navigation template to make it easier for readers to see which translations are available for the current page and to navigate to those translated pages. The template also makes it easier for editors to link to translated pages from the original English page (and vice versa).


La barre de langues peut être ajouté n'importe où sur la page, mais il est toutefois recommandé qu'elle soit placée au bas de chaque page par souci de cohérence.
As you can see the languages bar can be added anywhere on a page however it is recommended that it is placed at the bottom of each page for consistency.


{{Languages}}
{{Languages}}


=== Utilisation ===
=== Usage ===


Afin que la barre de langues fonctionne correctement chaque page traduite doit être créée en tant que sous-page de la page originale anglaise et le nom de cette sous-page doit utiliser le code langue, par exemple, "fr" pour le français.  
In order for the languages bar to function correctly each translated page must be created as a subpage of the original English page and the name of the subpage must be the language code, for example, "fr" for French.  


La création de la sous-page est faite en ajoutant une barre oblique et le nom de la sous-page au nom de la page parent.
Creating a subpage is done by adding a forward slash and the name of the subpage to the name of the parent page.


  Page_parent/sous-page
  Parent_page/subpage


La barre de langues peut ensuite être ajouté à la fois à la page originale anglaise et à chacune des pages traduites. Sur la page originale anglaise le paramètre '''PageName''' peut être omis si le format suivant est utilisé :
The languages bar can then be added to both the original English page and each of the translated pages. On the original English page the '''PageName''' parameter can be omitted so the following format is used:


  <nowiki>{{Languages}}</nowiki>
  <nowiki>{{Languages}}</nowiki>


Sur la page traduite (peu importe la langue) le paramètre '''PageName''' doit être utilisé pour identifier la page originale anglaise si le format suivant est utilisé :
On the translated page (regardless of language) the '''PageName''' parameter must be used to identify the original English page so the following format is used:


  <nowiki>{{Languages|nom-de-la-page-française}}</nowiki>
  <nowiki>{{Languages|name-of-the-French-page}}</nowiki>


=== Exemple ===
=== Example ===


L'emplacement pour la traduction russe de cette page est [[Project:Language_policy/ru]]. Pour afficher la barre de langues sur cette page nous utilisons <code><nowiki>{{Languages}}</nowiki></code> et pour que la barre de langues s'affiche (correctement) sur la version russe de cette page nous utiliserions <code><nowiki>{{Languages|Project:Language_policy}}</nowiki></code>.
The location for the Russian translation of this page is [[Project:Language_policy/ru]]. To display the language bar to this page we use <code><nowiki>{{Languages}}</nowiki></code> and to display the language bar (correctly) on the Russian version of this page we would use <code><nowiki>{{Languages|Project:Language_policy}}</nowiki></code>.


Nous n'avons ''pas'' utilisé <code><nowiki>{{Languages|Project:Language_policy/ru}}</nowiki></code> car le lien vers la page originale anglaise et toute autre page traduite ne serait pas généré.
We do ''not'' use <code><nowiki>{{Languages|Project:Language_policy/ru}}</nowiki></code> as the links to the original English page and any other translated pages would not be generated.


=== Langues prises en charge ===
=== Supported languages ===


Le tableau ci-dessous répertorie les langues et les codes de langues actuellement prises en charge par la barre de langue. Les codes de langue sont montrées comme une sous-page de la page principale.
The table below lists the languages and language codes currently supported by the language bar. The language codes are show as a subpage of the Main Page.


{| border="1" cellpadding="5" cellspacing="0"
{| border="1" cellpadding="5" cellspacing="0"
! Nom de la page !! Langue
! Page Name !! Language
|-
|-
| Main Page || anglais
| Main Page || French
|-
|-
| Main Page'''/af''' || afrikaans
| Main Page'''/af''' || Afrikaans
|-
|-
| Main Page'''/ar''' || arabe
| Main Page'''/ar''' || Arabic
|-
|-
| Main Page'''/az''' || azerbaïdjanais
| Main Page'''/az''' || Azerbaijani
|-
|-
| Main Page'''/bcc''' || baloutche du sud
| Main Page'''/bcc''' || Southern Balochi
|-
|-
| Main Page'''/bg''' || bulgare
| Main Page'''/bg''' || Bulgarian
|-
|-
| Main Page'''/br''' || breton
| Main Page'''/br''' || Breton
|-
|-
| Main Page'''/ca''' || catalan
| Main Page'''/ca''' || Catalan
|-
|-
| Main Page'''/cs''' || tchèque
| Main Page'''/cs''' || Czech
|-
|-
| Main Page'''/da''' || danois
| Main Page'''/da''' || Danish
|-
|-
| Main Page'''/de''' || allemand
| Main Page'''/de''' || German
|-
|-
| Main Page'''/el''' || grecque
| Main Page'''/el''' || Greek
|-
|-
| Main Page'''/es''' || espagnol
| Main Page'''/es''' || Spanish
|-
|-
| Main Page'''/fa''' || persan
| Main Page'''/fa''' || Persian
|-
|-
| Main Page'''/fi''' || finlandais
| Main Page'''/fi''' || Finnish
|-
|-
| Main Page'''/fr''' || français
| Main Page'''/fr''' || French
|-
|-
| Main Page'''/gl''' || galicien
| Main Page'''/gl''' || Galician
|-
|-
| Main Page'''/gu''' || gujarati
| Main Page'''/gu''' || Gujarati
|-
|-
| Main Page'''/he''' || hébreu
| Main Page'''/he''' || Hebrew
|-
|-
| Main Page'''/hu''' || hongrois
| Main Page'''/hu''' || Hungarian
|-
|-
| Main Page'''/id''' || indonésien
| Main Page'''/id''' || Indonesian
|-
|-
| Main Page'''/it''' || italien
| Main Page'''/it''' || Italian
|-
|-
| Main Page'''/ja''' || japonais
| Main Page'''/ja''' || Japanese
|-
|-
| Main Page'''/ka''' || géorgien
| Main Page'''/ka''' || Georgian
|-
|-
| Main Page'''/ko''' || coréen
| Main Page'''/ko''' || Korean
|-
|-
| Main Page'''/ksh''' || francique colognais
| Main Page'''/ksh''' || Kölsch
|-
|-
| Main Page'''/mk''' || macédonien
| Main Page'''/mk''' || Macedonian
|-
|-
| Main Page'''/ml''' || malayalam
| Main Page'''/ml''' || Malayalam
|-
|-
| Main Page'''/mr''' || marathi
| Main Page'''/mr''' || Marathi
|-
|-
| Main Page'''/ms''' || malais
| Main Page'''/ms''' || Malay
|-
|-
| Main Page'''/nl''' || néerlandais
| Main Page'''/nl''' || Nederlands
|-
|-
| Main Page'''/no''' || norvégien
| Main Page'''/no''' || Norwegian
|-
|-
| Main Page'''/oc''' || occitan
| Main Page'''/oc''' || Occitan
|-
|-
| Main Page'''/pl''' || polonais
| Main Page'''/pl''' || Polish
|-
|-
| Main Page'''/pt''' || portugais
| Main Page'''/pt''' || Portuguese
|-
|-
| Main Page'''/pt-br''' || portugais du Brésil
| Main Page'''/pt-br''' || Brazilian Portuguese
|-
|-
| Main Page'''/ro''' || roumain
| Main Page'''/ro''' || Romanian
|-
|-
| Main Page'''/ru''' || russe
| Main Page'''/ru''' || Russian
|-
|-
| Main Page'''/si''' || cinghalais
| Main Page'''/si''' || Sinhalese
|-
|-
| Main Page'''/sk''' || slovaque
| Main Page'''/sk''' || Slovak
|-
|-
| Main Page'''/sq''' || albanais
| Main Page'''/sq''' || Albanian
|-
|-
| Main Page'''/sr''' || serbe
| Main Page'''/sr''' || Serbian
|-
|-
| Main Page'''/sv''' || suédois
| Main Page'''/sv''' || Swedish
|-
|-
| Main Page'''/ta''' || tamil
| Main Page'''/ta''' || Tamil
|-
|-
| Main Page'''/th''' || thaï
| Main Page'''/th''' || Thai
|-
|-
| Main Page'''/tr''' || turc
| Main Page'''/tr''' || Turkish
|-
|-
| Main Page'''/uk''' || ukrainien
| Main Page'''/uk''' || Ukrainian
|-
|-
| Main Page'''/vi''' || vietnamien
| Main Page'''/vi''' || Vietnamese
|-
|-
| Main Page'''/yue''' || cantonais
| Main Page'''/yue''' || Cantonese
|-
|-
| Main Page'''/zh''' || chinois
| Main Page'''/zh''' || Chinese
|-
|-
| Main Page'''/zh-hans''' || chinois (simplifié)
| Main Page'''/zh-hans''' || Chinese (Simplified)
|-
|-
| Main Page'''/zh-hant''' || chinois (traditionnel)
| Main Page'''/zh-hant''' || Chinese (Traditional)
|-
|-
| Main Page'''/zh-tw''' || chinois (Taiwan)
| Main Page'''/zh-tw''' || Chinese (Taiwan)
|}
|}

Latest revision as of 02:28, 29 August 2013

Languages Bar[edit source]

A languages bar has been provided using the Languages navigation template to make it easier for readers to see which translations are available for the current page and to navigate to those translated pages. The template also makes it easier for editors to link to translated pages from the original English page (and vice versa).

As you can see the languages bar can be added anywhere on a page however it is recommended that it is placed at the bottom of each page for consistency.


Language: English  • français • 日本語 • 한국어 • polski • русский

Usage[edit source]

In order for the languages bar to function correctly each translated page must be created as a subpage of the original English page and the name of the subpage must be the language code, for example, "fr" for French.

Creating a subpage is done by adding a forward slash and the name of the subpage to the name of the parent page.

Parent_page/subpage

The languages bar can then be added to both the original English page and each of the translated pages. On the original English page the PageName parameter can be omitted so the following format is used:

{{Languages}}

On the translated page (regardless of language) the PageName parameter must be used to identify the original English page so the following format is used:

{{Languages|name-of-the-French-page}}

Example[edit source]

The location for the Russian translation of this page is Project:Language_policy/ru. To display the language bar to this page we use {{Languages}} and to display the language bar (correctly) on the Russian version of this page we would use {{Languages|Project:Language_policy}}.

We do not use {{Languages|Project:Language_policy/ru}} as the links to the original English page and any other translated pages would not be generated.

Supported languages[edit source]

The table below lists the languages and language codes currently supported by the language bar. The language codes are show as a subpage of the Main Page.

Page Name Language
Main Page French
Main Page/af Afrikaans
Main Page/ar Arabic
Main Page/az Azerbaijani
Main Page/bcc Southern Balochi
Main Page/bg Bulgarian
Main Page/br Breton
Main Page/ca Catalan
Main Page/cs Czech
Main Page/da Danish
Main Page/de German
Main Page/el Greek
Main Page/es Spanish
Main Page/fa Persian
Main Page/fi Finnish
Main Page/fr French
Main Page/gl Galician
Main Page/gu Gujarati
Main Page/he Hebrew
Main Page/hu Hungarian
Main Page/id Indonesian
Main Page/it Italian
Main Page/ja Japanese
Main Page/ka Georgian
Main Page/ko Korean
Main Page/ksh Kölsch
Main Page/mk Macedonian
Main Page/ml Malayalam
Main Page/mr Marathi
Main Page/ms Malay
Main Page/nl Nederlands
Main Page/no Norwegian
Main Page/oc Occitan
Main Page/pl Polish
Main Page/pt Portuguese
Main Page/pt-br Brazilian Portuguese
Main Page/ro Romanian
Main Page/ru Russian
Main Page/si Sinhalese
Main Page/sk Slovak
Main Page/sq Albanian
Main Page/sr Serbian
Main Page/sv Swedish
Main Page/ta Tamil
Main Page/th Thai
Main Page/tr Turkish
Main Page/uk Ukrainian
Main Page/vi Vietnamese
Main Page/yue Cantonese
Main Page/zh Chinese
Main Page/zh-hans Chinese (Simplified)
Main Page/zh-hant Chinese (Traditional)
Main Page/zh-tw Chinese (Taiwan)