Difference between revisions of "Template:Other languages"

From Inkscape Wiki
Jump to navigation Jump to search
(new tmpl)
 
m (unlocking Czech, French, Russian, Slovak)
Line 10: Line 10:
<nowiki /> <!-- [[{{{bn|{{{en}}}/bn}}}|বাংলা]] -->
<nowiki /> <!-- [[{{{bn|{{{en}}}/bn}}}|বাংলা]] -->
<nowiki /> [[{{{ca|{{{en}}}/ca}}}|Català]]
<nowiki /> [[{{{ca|{{{en}}}/ca}}}|Català]]
<nowiki /> <!-- [[{{{cs|{{{en}}}/cs}}}|Česky]] -->
<nowiki /> [[{{{cs|{{{en}}}/cs}}}|Česky]]
<nowiki /> <!-- [[{{{cu|{{{en}}}/cu}}}|Словѣ́ньскъ / ⰔⰎⰑⰂⰡⰐⰠⰔⰍⰟ]] -->
<nowiki /> <!-- [[{{{cu|{{{en}}}/cu}}}|Словѣ́ньскъ / ⰔⰎⰑⰂⰡⰐⰠⰔⰍⰟ]] -->
<nowiki /> [[{{{de|{{{en}}}/de}}}|Deutsch]]
<nowiki /> [[{{{de|{{{en}}}/de}}}|Deutsch]]
Line 19: Line 19:
<nowiki /> <!-- [[{{{fa|{{{en}}}/fa}}}|فارسی]] -->
<nowiki /> <!-- [[{{{fa|{{{en}}}/fa}}}|فارسی]] -->
<nowiki /> <!-- [[{{{fi|{{{en}}}/fi}}}|Suomi]] -->
<nowiki /> <!-- [[{{{fi|{{{en}}}/fi}}}|Suomi]] -->
<nowiki /> <!-- [[{{{fr|{{{en}}}/fr}}}|Français]] -->
<nowiki /> [[{{{fr|{{{en}}}/fr}}}|Français]]
<nowiki /> <!-- [[{{{gu|{{{en}}}/gu}}}|ગુજરાતી]] -->
<nowiki /> <!-- [[{{{gu|{{{en}}}/gu}}}|ગુજરાતી]] -->
<nowiki /> <!-- [[{{{he|{{{en}}}/he}}}|עברית]] -->
<nowiki /> <!-- [[{{{he|{{{en}}}/he}}}|עברית]] -->
Line 44: Line 44:
<nowiki /> [[{{{pt|{{{en}}}/pt}}}|Português]]
<nowiki /> [[{{{pt|{{{en}}}/pt}}}|Português]]
<nowiki /> <!-- [[{{{ro|{{{en}}}/ro}}}|Română]] -->
<nowiki /> <!-- [[{{{ro|{{{en}}}/ro}}}|Română]] -->
<nowiki /> <!-- [[{{{ru|{{{en}}}/ru}}}|Русский]] -->
<nowiki /> [[{{{ru|{{{en}}}/ru}}}|Русский]]
<nowiki /> [[{{{sk|{{{en}}}/sk}}}|Slovenčina]]
<nowiki /> <!-- [[{{{sv|{{{en}}}/sv}}}|Svenska]] -->
<nowiki /> <!-- [[{{{sv|{{{en}}}/sv}}}|Svenska]] -->
<nowiki /> <!-- [[{{{ta|{{{en}}}/ta}}}|தமிழ்]] -->
<nowiki /> <!-- [[{{{ta|{{{en}}}/ta}}}|தமிழ்]] -->

Revision as of 13:28, 7 May 2012

Other versions: [[{{{en}}}/ca|Català]] [[{{{en}}}/cs|Česky]] [[{{{en}}}/de|Deutsch]] [[{{{en}}}/en|English]] [[{{{en}}}/es|Español]] [[{{{en}}}/fr|Français]] [[{{{en}}}/it|Italiano]] [[{{{en}}}/ko|한국어]] [[{{{en}}}/pt|Português]] [[{{{en}}}/ru|Русский]] [[{{{en}}}/sk|Slovenčina]]

How to use:

{{Other languages| en=Name of the English version | ... other versions ... }}

will be replaced by a box with links to the translated versions of the page.

This template works as follows:

  • If a localized version of the page is passed in the form language code=page name, then displays a link to that page.
    Example: it=Inkscape in italiano makes the template link the Italian version Inkscape in italiano.
  • Otherwise, by default the template will link to Page in English/language code.
    Example: if the English page is Inkscape and no Italian localization is specified, then the template will return Inkscape/it because the ISO 639-1 language code for Italian is "it".

They are the ISO 639-1 language codes, you can read the entire list here.


How to add a new language code:

  • open this page in edit mode (click here)
  • search for your language
  • delete the <!-- and --> to uncomment the language. Please leave the <nowiki/> at the beginning of the line.