Template:I18n/Language Navigation Bar: Difference between revisions

From KDE TechBase
Line 23: Line 23:
<span lang="sl">[[{{{1}}}_(sl)|Slovenščina]]</span> |
<span lang="sl">[[{{{1}}}_(sl)|Slovenščina]]</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="gl">[[{{{1}}}_(gl)|Galego]]</span> |
<span lang="es">[[{{{1}}}_(es)|Español]]</span> |
<span lang="eo">[[{{{1}}}_(eo)|Esperanto]]</span>
</div>
</div>

Revision as of 03:13, 15 September 2007

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 site. If you want to add a new translation language, add it here and it will appear on all sites. Untranslated versions will appear red as usual.

Languages: [[{{{1}}}|English]] | [[{{{1}}}_(da)|Dansk]] | [[{{{1}}}_(de)|Deutsch]] | [[{{{1}}}_(fr)|Français]] | [[{{{1}}}_(ru)|Русский]] | [[{{{1}}}_(sl)|Slovenščina]] | [[{{{1}}}_(zh_CN)|简体中文]] | [[{{{1}}}_(gl)|Galego]] | [[{{{1}}}_(es)|Español]] | [[{{{1}}}_(eo)|Esperanto]]