Template:I18n/Language Navigation Bar: Difference between revisions

From KDE TechBase
(add asturian language to template)
(Refer to "pages", not "sites")
Line 11: Line 11:
<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>

Revision as of 06:02, 31 October 2009


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.

Languages: [[{{{1}}}_(ar)|عربي]] | [[{{{1}}}_(ast)|Asturianu]] | [[{{{1}}}_(ca)|Català]] | [[{{{1}}}_(cs)|Česky]] | [[{{{1}}}_(csb)|Kaszëbsczi]] | [[{{{1}}}_(da)|Dansk]] | [[{{{1}}}_(de)|Deutsch]] | [[{{{1}}}|English]] | [[{{{1}}}_(eo)|Esperanto]] | [[{{{1}}}_(es)|Español]] | [[{{{1}}}_(fa)|فارسی]] | [[{{{1}}}_(fi)|Suomi]] | [[{{{1}}}_(fr)|Français]] | [[{{{1}}}_(gl)|Galego]] | [[{{{1}}}_(it)|Italiano]] | [[{{{1}}}_(ja)|日本語]] | [[{{{1}}}_(ko)|한국어]] | [[{{{1}}}_(no)|Norwegian]] | [[{{{1}}}_(pl)|Polski]] | [[{{{1}}}_(pt_BR)|Português Brasileiro]] | [[{{{1}}}_(ro)|Română]] | [[{{{1}}}_(ru)|Русский]] | [[{{{1}}}_(se)|Svenska]] | [[{{{1}}}_(sl)|Slovenščina]] | [[{{{1}}}_(sr)|српски]] | [[{{{1}}}_(uk)|Українська]] | [[{{{1}}}_(zh_CN)|简体中文]] | [[{{{1}}}_(zh_TW)|繁體中文]]