Template: LanguageOtherMsg

From LibrePlanet
Jump to: navigation, search
m (fixing...)
m (Added a warning about editing this template)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the &quot;Languages&quot; template. Edit the page to see the template text.
+
This is the &quot;'''LanguageOtherMsg'''&quot; template. Edit the page to see the template text.
 +
<!--
 +
Coded by: alexus <http://libreplanet.org/wiki/User:Alexus>
 +
Revision: 2.0
 +
Date:    25/01/2011
 +
-->
  
Rev. 1.1 - Date: 25/01/2011
+
'''Description'''
  
'''Description''':
+
This template is designed to be called as a sub-template from [[Template:Languages]] to return localized translations for the "In other languages" message.
  
This template shows the available translations of a page. Only works for the "original" page (master page) and its translations which include this template itself.
+
'''''Important note''''' - This template should not be used anywhere except in [[Template:Languages]]. It doesn't display properly when not included. Please see [[Template:Languages]] for the complete version. Please, '''do not edit''' if you are not REALLY sure about what you are doing.
  
''IMPORTANT NOTE'' - This template should be included, either in the "original" page (master page) and in all its translations, ONLY IF almost one translation of the original page really exist in the wiki.
+
'''''Note''''' - The includet cases are all poached [http://translatewiki.net/w/i.php?title=Special%3ATranslations&message=otherlanguages&namespace=8 here] (from translatewiki.net).
  
''NOTE'' - The cases are all poached [http://translatewiki.net/w/i.php?title=Special%3ATranslations&message=otherlanguages&namespace=8 here] from translatewiki.net.
+
'''Usage'''
 
 
'''Usage''':
 
  
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{Languages|master page=MasterPage|language=Code}}
+
{{LanguageOtherMsg|<LangCode>}}
 
</pre>
 
</pre>
 
where:
 
where:
* 'MasterPage' is the "original" page
+
* <LangCode> is the (2-digit lowercase) language code (ISO 639-1) of the language to translate to the "In other languages:" message.
* 'Code' is the locale (ISO 639-1) for the language used for the content of the page in which the template has being included (either if the "original" or a translation page)
 
  
'''Example''':
+
If there is no match for <LangCode>, it returns by default the string "In other languages" (en).
 
+
</noinclude><onlyinclude>{{#if:{{{1|}}}|{{#switch:{{{1}}}
If the "original" page 'MyPage' is written in English (as more often is) and it has a Italian translation at the page 'MyPage.it", then:
+
|ab=Абызшәақәа
* in 'MyPage', include this:
+
|af=Ander tale
<pre>
+
|am=በሌሎች ቋንቋዎች
{{Languages|master page=MyPage|language=en}}
+
|an=En atras luengas
</pre>
+
|ar=بلغات أخرى
* in 'MyPage.it', include this:
+
|as=আন ভাষাত
<pre>
+
|av=Цойги мацIазда
{{Languages|master page=MyPage|language=it}}
+
|ay=Yaqha arunaka
</pre>
+
|az=Başqa dillərdə
</noinclude><onlyinclude><span lang="{{{1}}}" xml:lang="{{{1}}}">{{#switch:{{{1}}}
+
|ba=Башҡа телдәрҙә
|ab=Абызшәақәа:
+
|be=На іншых мовах
|af=Ander tale:
+
|bg=На други езици
|am=በሌሎች ቋንቋዎች:
+
|bh=अन्य भाषा में
|an=En atras luengas:
+
|bm=Kanw wɛrɛ
|ar=بلغات أخرى:
+
|bn=অন্যান্য ভাষাসমূহ
|as=আন ভাষাত:
+
|br=Yezhoù all
|av=Цойги мацIазда:
+
|bs=Ostali jezici
|ay=Yaqha arunaka:
+
|ca=En altres llengües
|az=Başqa dillərdə:
+
|ce=Кхечу маттахь дерш
|ba=Башҡа телдәрҙә:
+
|ch=Gi otru na lengguahe siha
|be=На іншых мовах:
+
|co=In altri lingui
|bg=На други езици:
+
|cs=V jiných jazycích
|bh=अन्य भाषा में:
+
|cv=Урăх чěлхесем
|bm=Kanw wɛrɛ:
+
|cy=Ieithoedd eraill
|bn=অন্যান্য ভাষাসমূহ:
+
|da=Andre sprog
|br=Yezhoù all:
+
|de=In anderen Sprachen
|bs=Ostali jezici:
+
|dv=އެހެން ބަސްބަހުން
|ca=En altres llengües:
+
|ee=Le gbe bubuwo me
|ce=Кхечу маттахь дерш:
+
|el=Άλλες γλώσσες
|ch=Gi otru na lengguahe siha:
+
|en=In other languages
|co=In altri lingui:
+
|eo=Aliaj lingvoj
|cs=V jiných jazycích:
+
|es=Otros idiomas
|cv=Урăх чěлхесем:
+
|et=Teistes keeltes
|cy=Ieithoedd eraill:
+
|eu=Beste hizkuntzetan
|da=Andre sprog:
+
|fa=زبان‌های دیگر
|de=In anderen Sprachen:
+
|ff=ɗemɗe goɗe
|dv=އެހެން ބަސްބަހުން:
+
|fi=Muilla kielillä
|ee=Le gbe bubuwo me:
+
|fj=Veimataqali vosa
|el=Άλλες γλώσσες:
+
|fo=Onnur mál
|en=In other languages:
+
|fr=Autres langues
|eo=Aliaj lingvoj:
+
|fy=Oare talen
|es=Otros idiomas:
+
|ga=I dteangacha eile
|et=Teistes keeltes:
+
|gd=Ann an cànain eile
|eu=Beste hizkuntzetan:
+
|gl=Outras linguas
|fa=زبان‌های دیگر:
+
|gn=Ambue ñe'ẽ
|ff=ɗemɗe goɗe:
+
|gu=બીજી ભાષાઓમાં
|fi=Muilla kielillä:
+
|gv=Ayns çhengaghyn elley
|fj=Veimataqali vosa:
+
|ha=A wasu harsuna
|fo=Onnur mál:
+
|he=דף זה בשפות אחרות
|fr=Autres langues:
+
|hi=अन्य भाषाएँ
|fy=Oare talen:
+
|hr=Drugi jezici
|ga=I dteangacha eile:
+
|ht=Nan lòt lang yo
|gd=Ann an cànain eile:
+
|hu=Más nyelveken
|gl=Outras linguas:
+
|hy=Այլ լեզուներով
|gn=Ambue ñe'ẽ:
+
|ia=In altere linguas
|gu=બીજી ભાષાઓમાં:
+
|id=Bahasa lain
|gv=Ayns çhengaghyn elley:
+
|ie=Altri lingues
|ha=A wasu harsuna:
+
|ig=Na asụsụ ndị ozó
|he=דף זה בשפות אחרות:
+
|io=En altra lingui
|hi=अन्य भाषाएँ:
+
|is=Á öðrum tungumálum
|hr=Drugi jezici:
+
|it=Altre lingue
|ht=Nan lòt lang yo:
+
|ja=他の言語
|hu=Más nyelveken:
+
|jv=Basa liya
|hy=Այլ լեզուներով:
+
|ka=სხვა ენებზე
|ia=In altere linguas:
+
|kg=Bandinga ya nkaka
|id=Bahasa lain:
+
|kl=Oqaatsit allat
|ie=Altri lingues:
+
|km=ជាភាសាដទៃទៀត
|ig=Na asụsụ ndị ozó:
+
|kn=ಇತರ ಭಾಷೆಗಳು
|io=En altra lingui:
+
|ko=다른 언어
|is=Á öðrum tungumálum:
+
|kv=Мӧд кывъясӧн
|it=Altre lingue:
+
|kw=Yn tavosow erel
|ja=他の言語:
+
|ky=Башка тилдерде
|jv=Basa liya:
+
|la=Linguis aliis
|ka=სხვა ენებზე:
+
|lb=Aner Sproochen
|kg=Bandinga ya nkaka:
+
|lg=Mu nnimi ndala
|kl=Oqaatsit allat:
+
|li=Anger tale
|km=ជាភាសាដទៃទៀត:
+
|ln=Na nkótá isúsu
|kn=ಇತರ ಭಾಷೆಗಳು:
+
|lo=ເປັນພາສາອື່ນໆ
|ko=다른 언어:
+
|lt=Kitomis kalbomis
|kv=Мӧд кывъясӧн:
+
|lv=Citās valodās
|kw=Yn tavosow erel:
+
|mg=Amin'ny tenim-pirenena hafa
|ky=Башка тилдерде:
+
|mk=Други јазици
|la=Linguis aliis:
+
|ml=ഇതര ഭാഷകളിൽ
|lb=Aner Sproochen:
+
|mn=Өөр хэлээр
|lg=Mu nnimi ndala:
+
|mr=इतर भाषा
|li=Anger tale:
+
|ms=Bahasa lain
|ln=Na nkótá isúsu:
+
|mt=F'lingwi oħrajn
|lo=ເປັນພາສາອື່ນໆ:
+
|ne=अरु भाषामा
|lt=Kitomis kalbomis:
+
|nl=In andere talen
|lv=Citās valodās:
+
|nn=På andre språk
|mg=Amin'ny tenim-pirenena hafa:
+
|no=På andre språk
|mk=Други јазици:
+
|nv=saad
|ml=ഇതര ഭാഷകളിൽ:
+
|oc=Autras lengas
|mn=Өөр хэлээр:
+
|os=Æндæр æвзæгтыл
|mr=इतर भाषा:
+
|pa=ਹੋਰ ਭਾਸ਼ਾਵਾਂ ਵਿੱਚ
|ms=Bahasa lain:
+
|pl=W innych językach
|mt=F'lingwi oħrajn:
+
|ps=په نورو ژبو کې
|ne=अरु भाषामा:
+
|pt=Noutras línguas
|nl=In andere talen:
+
|qu=Huk simikunapi
|nn=På andre språk:
+
|rm=En auteras linguas
|no=På andre språk:
+
|ro=În alte limbi
|nv=saad:
+
|ru=На других языках
|oc=Autras lengas:
+
|sa=अन्यासु भाषासु
|os=Æндæр æвзæгтыл:
+
|sc=Àteras limbas
|pa=ਹੋਰ ਭਾਸ਼ਾਵਾਂ ਵਿੱਚ:
+
|sd=ٻين ٻولين ۾
|pl=W innych językach:
+
|se=Eará gielaide
|ps=په نورو ژبو کې:
+
|sg=Na mbênî âmëngä
|pt=Noutras línguas:
+
|si=වෙනත් භාෂා වලින්
|qu=Huk simikunapi:
+
|sk=V iných jazykoch
|rm=En auteras linguas:
+
|sl=V drugih jezikih
|ro=În alte limbi:
+
|sm=I isi gagana
|ru=На других языках:
+
|sn=Mimwe Mitauro
|sa=अन्यासु भाषासु:
+
|so=Luqadaha kale
|sc=Àteras limbas:
+
|sq=Në gjuhë të tjera
|sd=ٻين ٻولين ۾:
+
|ss=Ngaletinye tilwimi
|se=Eará gielaide:
+
|st=Ka maleme a mang
|sg=Na mbênî âmëngä:
+
|su=Basa séjén
|si=වෙනත් භාෂා වලින්:
+
|sv=På andra språk
|sk=V iných jazykoch:
+
|sw=Lugha zingine
|sl=V drugih jezikih:
+
|ta=ஏனைய மொழிகள்
|sm=I isi gagana:
+
|te=ఇతర భాషలలొ
|sn=Mimwe Mitauro:
+
|th=ในภาษาอื่น
|so=Luqadaha kale:
+
|tk=Başga dillerde
|sq=Në gjuhë të tjera:
+
|tl=Sa ibang wika
|ss=Ngaletinye tilwimi:
+
|tn=Ka dipuo di sele
|st=Ka maleme a mang:
+
|to=ʻi he ngaahi lea kehe
|su=Basa séjén:
+
|tr=Diğer diller
|sv=På andra språk:
+
|uk=Іншими мовами
|sw=Lugha zingine:
+
|ur=دیگر زبانوں میں
|ta=ஏனைய மொழிகள்:
+
|uz=Boshqa tillarda
|te=ఇతర భాషలలొ:
+
|vi=Ngôn ngữ khác
|th=ในภาษาอื่น:
+
|vo=In püks votik
|tk=Başga dillerde:
+
|wa=Ôtes lingaedjes
|tl=Sa ibang wika:
+
|wo=Yeneeni làkk
|tn=Ka dipuo di sele:
+
|xh=Kwezinye Ilwimi
|to=ʻi he ngaahi lea kehe:
+
|yi=אין אַנדערע שפראַכן
|tr=Diğer diller:
+
|yo=Àwọn èdè míràn
|uk=Іншими мовами:
+
|zu=Ngezilimi ezinahlukene
|ur=دیگر زبانوں میں:
 
|uz=Boshqa tillarda:
 
|vi=Ngôn ngữ khác:
 
|vo=In püks votik:
 
|wa=Ôtes lingaedjes:
 
|wo=Yeneeni làkk:
 
|xh=Kwezinye Ilwimi:
 
|yi=אין אַנדערע שפראַכן:
 
|yo=Àwọn èdè míràn:
 
|zu=Ngezilimi ezinahlukene:
 
 
|#default=In other languages
 
|#default=In other languages
}}</span></onlyinclude>
+
}}|}}</onlyinclude>

Latest revision as of 15:04, 8 September 2011

This is the "LanguageOtherMsg" template. Edit the page to see the template text.

Description

This template is designed to be called as a sub-template from Template:Languages to return localized translations for the "In other languages" message.

Important note - This template should not be used anywhere except in Template:Languages. It doesn't display properly when not included. Please see Template:Languages for the complete version. Please, do not edit if you are not REALLY sure about what you are doing.

Note - The includet cases are all poached here (from translatewiki.net).

Usage

It should be called in the following format:

{{LanguageOtherMsg|<LangCode>}}

where:

  • <LangCode> is the (2-digit lowercase) language code (ISO 639-1) of the language to translate to the "In other languages:" message.

If there is no match for <LangCode>, it returns by default the string "In other languages" (en).