Template:I18n/Language Navigation Bar: Difference between revisions

From KDE TechBase
(Added catalan language)
m (Reverted edits by Neverendingo (talk) to last revision by AnneW)
 
(40 intermediate revisions by 15 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{Template:I18n/Language Navigation Bar|Template:I18n/Language_Navigation_Bar}}
{{Template:I18n/Language Navigation Bar|Template:I18n/Language_Navigation_Bar}}
== How to use ==
== How to Use ==


This template needs to be included in all translations of one page.
This template needs to be included in all translations of one page.
Line 7: Line 7:
Foo (de), Foo (fr), etc.  
Foo (de), Foo (fr), etc.  


In all translations you _must_ insert the following line:
In all translations you '''must''' insert the following line:


<nowiki>{{Template:I18n/Language_Navigation_Bar|Foo}}</nowiki>
<nowiki>{{Template:I18n/Language_Navigation_Bar|Foo}}</nowiki>


This will create a correctly linked bar that allows to switch between all translations of a site. If you want to add a new translation language, add
This will create a correctly linked bar that allows to switch between all translations of a page. If you want to add a new translation language, add
it here and it will appear on all sites. Untranslated versions will appear
it here and it will appear on all pages. Untranslated versions will appear
red as usual.
red as usual.
</noinclude>
</noinclude>
<includeonly>
=== {{{1}}} ===
<div style="margin:auto;font-size:83.3%;text-align:left">
<div style="margin:auto;font-size:83.3%;text-align:left">
<b>Languages:</b>
<b>Languages:</b>
<span lang="en">[[{{{1}}}|English]]</span> |
<span lang="ar">[[{{{1}}}_(ar)|عربي]]</span> |
<span lang="ca">[[{{{1}}}_(ast)|Asturianu]]</span> |
<span lang="ca">[[{{{1}}}_(ca)|Català]]</span> |
<span lang="sl">[[{{{1}}}_(cs)|Česky]]</span> |
<span lang="csb">[[{{{1}}}_(csb)|Kaszëbsczi]]</span> |
<span lanf="da">[[{{{1}}}_(da)|Dansk]]</span> |
<span lanf="da">[[{{{1}}}_(da)|Dansk]]</span> |
<span lang="de">[[{{{1}}}_(de)|Deutsch]]</span> |
<span lang="de">[[{{{1}}}_(de)|Deutsch]]</span> |
<span lang="en">[[{{{1}}}|English]]</span> |
<span lang="eo">[[{{{1}}}_(eo)|Esperanto]]</span> |
<span lang="es">[[{{{1}}}_(es)|Español]]</span> |
<span lang="et">[[{{{1}}}_(et)|Eesti]]</span> |
<span lang="fa">[[{{{1}}}_(fa)|فارسی]]</span> |
<span lang="fi">[[{{{1}}}_(fi)|Suomi]]</span> |
<span lang="fr">[[{{{1}}}_(fr)|Français]]</span> |
<span lang="fr">[[{{{1}}}_(fr)|Français]]</span> |
<span lang="gl">[[{{{1}}}_(gl)|Galego]]</span> |
<span lang="it">[[{{{1}}}_(it)|Italiano]]</span> |
<span lang="it">[[{{{1}}}_(it)|Italiano]]</span> |
<span lang="ja">[[{{{1}}}_(ja)|日本語]]</span> |
<span lang="ko">[[{{{1}}}_(ko)|한국어]]</span> |
<span lang="no">[[{{{1}}}_(no)|Norwegian]]</span> |
<span lang="no">[[{{{1}}}_(no)|Norwegian]]</span> |
<span lang="ru">[[{{{1}}}_(ru)|Русский]]</span> |
<span lang="pl">[[{{{1}}}_(pl)|Polski]]</span> |
<span lang="pt_BR">[[{{{1}}}_(pt_BR)|Português Brasileiro]]</span> |
<span lang="ro">[[{{{1}}}_(ro)|Română]]</span> |
<span lang="ru">[[Добро пожаловать в KDE TechBase (ru)|Русский]]</span> |
<span lang="se">[[{{{1}}}_(se)|Svenska]]</span> |
<span lang="sk">[[{{{1}}}_(sk)|Slovenčina]]</span> |
<span lang="sl">[[{{{1}}}_(sl)|Slovenščina]]</span> |
<span lang="sr">[[{{{1}}}_(sr)|српски]]</span> |
<span lang="sr">[[{{{1}}}_(sr)|српски]]</span> |
<span lang="sl">[[{{{1}}}_(sl)|Slovenščina]]</span> |
<span lang="tr">[[{{{1}}}_(tr)|Türkçe]]</span> |
<span lang="fi">[[{{{1}}}_(fi)|Suomi]]</span> |
<span lang="vn">[[{{{1}}}_(vi)|Tiếng Việt]]</span> |
<span lang="uk">[[{{{1}}}_(uk)|Українська]]</span> |
<span lang="zh_CN">[[{{{1}}}_(zh_CN)|简体中文]]</span> |
<span lang="zh_CN">[[{{{1}}}_(zh_CN)|简体中文]]</span> |
<span lang="gl">[[{{{1}}}_(gl)|Galego]]</span> |
<span lang="zh_TW">[[{{{1}}}_(zh_TW)|繁體中文]]</span>
<span lang="es">[[{{{1}}}_(es)|Español]]</span> |
 
<span lang="eo">[[{{{1}}}_(eo)|Esperanto]]</span> |
<span lang="se">[[{{{1}}}_(se)|Svenska]]</span> |
<span lang="ko">[[{{{1}}}_(ko)|한국어]]</span> |
<span lang="ro">[[{{{1}}}_(ro)|Română]]</span> |
<span lang="pt_BR">[[{{{1}}}_(pt_BR)|Brazilian Portuguese]]</span> |
<span lang="sl">[[{{{1}}}_(cs)|Česky]]</span> |
<span lang="ar">[[{{{1}}}_(ar)|عربي]]</span> |
<span lang="fa">[[{{{1}}}_(fa)|فارسی]]</span> |
<span lang="pl">[[{{{1}}}_(pl)|Polski]]</span> |
<span lang="ja">[[{{{1}}}_(ja)|日本語]]</span> |
<span lang="ja">[[{{{1}}}_(uk)|Українська]]</span> |
<span lang="ca">[[{{{1}}}_(ca)Català</span>
</div>
</div>
</includeonly>

Latest revision as of 15:36, 21 July 2012


Template:I18n/Language_Navigation_Bar

How to Use

This template needs to be included in all translations of one page. Let's assume we have page called "Foo". The translations are called Foo (de), Foo (fr), etc.

In all translations you must insert the following line:

{{Template:I18n/Language_Navigation_Bar|Foo}}

This will create a correctly linked bar that allows to switch between all translations of a page. If you want to add a new translation language, add it here and it will appear on all pages. Untranslated versions will appear red as usual.