Site /
I18nFooter
Page no longer used, new languages should be added only to PmWiki.OtherLanguages.
This pagelist was used to display cross-language links in the PmWiki documentation, at the bottom of every page. A special *.XLPage page should exist for the language to be recognized.
Manual list of links (much faster than a pagelist)
We just need to update it when a new language XLPage is added.
[[#mlist]] >>i18n-links font-size=smaller<< Languages: (:if2 name {*$Group}.{*$Group},{*$Group}.PmWiki:) [[PmWiki.PmWiki |English]] \ [[PmWikiAr.PmWikiAr | ar ]] \ [[PmWikiBg.PmWikiBg | bg ]] \ [[PmWikiCa.PmWikiCa | ca ]] \ [[PmWikiCs.PmWikiCs | cs ]] \ [[PmWikiDa.PmWikiDa | da ]] \ [[PmWikiDe.PmWikiDe | de ]] \ [[PmWikiEl.PmWikiEl | el ]] \ [[PmWikiEo.PmWikiEo | eo ]] \ [[PmWikiEs.PmWikiEs | es ]] \ [[PmWikiFa.PmWikiFa | fa ]] \ [[PmWikiFi.PmWikiFi | fi ]] \ [[PmWikiFr.PmWikiFr | fr ]] \ [[PmWikiHu.PmWikiHu | hu ]] \ [[PmWikiId.PmWikiId | id ]] \ [[PmWikiIt.PmWikiIt | it ]] \ [[PmWikiJa.PmWikiJa | ja ]] \ [[PmWikiKr.PmWikiKr | kr ]] \ [[PmWikiLt.PmWikiLt | lt ]] \ [[PmWikiLv.PmWikiLv | lv ]] \ [[PmWikiMk.PmWikiMk | mk ]] \ [[PmWikiNl.PmWikiNl | nl ]] \ [[PmWikiNo.PmWikiNo | no ]] \ [[PmWikiPl.PmWikiPl | pl ]] \ [[PmWikiPt.PmWikiPt | pt ]] \ [[PmWikiPtBr.PmWikiPtBr | ptbr ]] \ [[PmWikiRo.PmWikiRo | ro ]] \ [[PmWikiRu.PmWikiRu | ru ]] \ [[PmWikiSi.PmWikiSi | si ]] \ [[PmWikiSk.PmWikiSk | sk ]] \ [[PmWikiSq.PmWikiSq | sq ]] \ [[PmWikiSv.PmWikiSv | sv ]] \ [[PmWikiTa.PmWikiTa | ta ]] \ [[PmWikiTr.PmWikiTr | tr ]] \ [[PmWikiUk.PmWikiUk | uk ]] \ [[PmWikiVi.PmWikiVi | vi ]] \ [[PmWikiZhCn.PmWikiZhCn | zhcn ]] \ [[PmWikiZhTw.PmWikiZhTw | zhtw ]] \ (:else2:) [[PmWiki.{*$Name} |English]] \ [[PmWikiAr.{*$Name} | ar ]] \ [[PmWikiBg.{*$Name} | bg ]] \ [[PmWikiCa.{*$Name} | ca ]] \ [[PmWikiCs.{*$Name} | cs ]] \ [[PmWikiDa.{*$Name} | da ]] \ [[PmWikiDe.{*$Name} | de ]] \ [[PmWikiEl.{*$Name} | el ]] \ [[PmWikiEo.{*$Name} | eo ]] \ [[PmWikiEs.{*$Name} | es ]] \ [[PmWikiFa.{*$Name} | fa ]] \ [[PmWikiFi.{*$Name} | fi ]] \ [[PmWikiFr.{*$Name} | fr ]] \ [[PmWikiHu.{*$Name} | hu ]] \ [[PmWikiId.{*$Name} | id ]] \ [[PmWikiIt.{*$Name} | it ]] \ [[PmWikiJa.{*$Name} | ja ]] \ [[PmWikiKr.{*$Name} | kr ]] \ [[PmWikiLt.{*$Name} | lt ]] \ [[PmWikiLv.{*$Name} | lv ]] \ [[PmWikiMk.{*$Name} | mk ]] \ [[PmWikiNl.{*$Name} | nl ]] \ [[PmWikiNo.{*$Name} | no ]] \ [[PmWikiPl.{*$Name} | pl ]] \ [[PmWikiPt.{*$Name} | pt ]] \ [[PmWikiPtBr.{*$Name} | ptbr ]] \ [[PmWikiRo.{*$Name} | ro ]] \ [[PmWikiRu.{*$Name} | ru ]] \ [[PmWikiSi.{*$Name} | si ]] \ [[PmWikiSk.{*$Name} | sk ]] \ [[PmWikiSq.{*$Name} | sq ]] \ [[PmWikiSv.{*$Name} | sv ]] \ [[PmWikiTa.{*$Name} | ta ]] \ [[PmWikiTr.{*$Name} | tr ]] \ [[PmWikiUk.{*$Name} | uk ]] \ [[PmWikiVi.{*$Name} | vi ]] \ [[PmWikiZhCn.{*$Name} | zhcn ]] \ [[PmWikiZhTw.{*$Name} | zhtw ]] \ (:if2end:) | [[Localization/Localization|New language]] >><< [[#mlistend]]
Pagelist (not currently used)
[[#plist]] (:if group PmWiki,PmWiki??*:) >>i18n-links font-size=smaller<< (:pagelist name=PmWiki??*.XLPage group=-PmWiki,-PmWikiEn,-{*$Group} fmt=Site.I18nFooter#pmwiki_i18n:) >><< (:ifend:) [[#plistend]]
Template
[[#pmwiki_i18n]] (:template defaults order=name:) (:template first:) $[Other languages]: \ (:if ! group PmWiki:) (:if2 name {*$Group}.{*$Group},{*$Group}.PmWiki:) [[PmWiki.PmWiki|English]] \ (:else2:) [[PmWiki.{*$Name}|English]] \ (:if2end:) (:ifend:) (:template each:) (:if name {*$Group}.{*$Group},{*$Group}.PmWiki:) [[{=$Group}.{=$Group}| {(tolower (substr "{=$Group}" 6))}]] \ (:else:) [[{=$Group}.{*$Name}| {(tolower (substr "{=$Group}" 6))}]] \ (:if:) [[#pmwiki_i18nend]]