Difference between revisions of "Template:TemplateBox/i18n"
Jump to navigation
Jump to search
Joelmartin (talk | contribs) m (Text replacement - "<!--T:(.*)-->" to "") |
Joelmartin (talk | contribs) m (Text replacement - "</>" to "") |
||
Line 31: | Line 31: | ||
Localization | Localization | ||
|msg-localization-instruct-switch= | |msg-localization-instruct-switch= | ||
− | To add your language to the list of languages supported by this template, please edit the template and add a row to the "<tvar|template>{{Tlf|LangSwitch| }} | + | To add your language to the list of languages supported by this template, please edit the template and add a row to the "<tvar|template>{{Tlf|LangSwitch| }}" construct. It takes the form "<tvar|formattingBegin><tt>{{!}}xx= Your translation <tvar|formattingEnd></tt>" (<tvar|samplecode><tt>xx</tt> being the {{W|List of ISO 639-1 codes|code}} of your language) |
|msg-localization-instruct-autotranslate= | |msg-localization-instruct-autotranslate= | ||
− | This template is localized through <tvar|autotranslate>{{tl|Autotranslate}} | + | This template is localized through <tvar|autotranslate>{{tl|Autotranslate}}. {{#ifexist: Template:{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}/layout | |
− | The layout of the template can be found under <tvar|link>[[Template:{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}/layout]] | + | The layout of the template can be found under <tvar|link>[[Template:{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}/layout]].}} |
− | To add your language to the list of languages supported by this template, please copy the code of <tvar|pagetocopyfrom>[[Template:{{{name|{{PAGENAME}}}}}/en]] | + | To add your language to the list of languages supported by this template, please copy the code of <tvar|pagetocopyfrom>[[Template:{{{name|{{PAGENAME}}}}}/en]] (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter <tvar|paramname><tt>lang</tt> from <tvar|defaultlang><tt>en</tt> (or whatever language you are translating) to the [[:en:ISO 639-1|language code]] of your language. |
|msg-localization-instruct-none= | |msg-localization-instruct-none= | ||
This template is not intended to be localized. | This template is not intended to be localized. | ||
Line 43: | Line 43: | ||
This template is localized by utilizing custom MediaWiki namespace messages. | This template is localized by utilizing custom MediaWiki namespace messages. | ||
|msg-localization-instruct-mediawiki-msg= | |msg-localization-instruct-mediawiki-msg= | ||
− | This template is localized by utilizing MediaWiki namespace messages. These can be [[<tvar|twn-wm>translatewiki:{{#if:{{{i18n-mediawiki-msg|}}}|MediaWiki:{{{i18n-mediawiki-msg|}}}|Special:Translate/ext-wikimediamessages}} | + | This template is localized by utilizing MediaWiki namespace messages. These can be [[<tvar|twn-wm>translatewiki:{{#if:{{{i18n-mediawiki-msg|}}}|MediaWiki:{{{i18n-mediawiki-msg|}}}|Special:Translate/ext-wikimediamessages}}|translated at translatewiki.net]] ([[:translatewiki:Special:Translations/MediaWiki:{{#if:{{{i18n-mediawiki-msg|}}}|{{{i18n-mediawiki-msg|}}}|Wm-license-{{lc:{{BASEPAGENAME}}}}-text}}| |
current translations]]). | current translations]]). | ||
|msg-localization-ext-translate= | |msg-localization-ext-translate= | ||
− | This template makes use of <tvar|autotranslate>{{tl|Autotranslate}} | + | This template makes use of <tvar|autotranslate>{{tl|Autotranslate}} and [[<tvar|linktarget>:mw:Special:MyLanguage/Help:Extension:Translate|the translate extension]]. |
|msg-localization-instruct-ext-translate= | |msg-localization-instruct-ext-translate= | ||
Translate this template now! | Translate this template now! | ||
Line 149: | Line 149: | ||
At the bottom of the page | At the bottom of the page | ||
|msg-placement-licence= | |msg-placement-licence= | ||
− | In the "<tvar|paramname>{{int:wm-license-information-permission}} | + | In the "<tvar|paramname>{{int:wm-license-information-permission}}" parameter of the <tvar|templatename>{{tl|Information}} template (or the respective parameter of similar templates) or in the "<tvar|sectionname>{{int:license-header}}" section |
|msg-placement-source= | |msg-placement-source= | ||
− | In the "<tvar|paramname>{{int:wm-license-information-source}} | + | In the "<tvar|paramname>{{int:wm-license-information-source}}" parameter of the <tvar|templatename>{{tl|Information}} template (or the respective parameter of similar templates) or just below this template |
|lang={{int:lang}} | |lang={{int:lang}} | ||
}}</onlyinclude> | }}</onlyinclude> | ||
{{translated tag|documentation}} | {{translated tag|documentation}} |
Latest revision as of 15:05, 21 December 2019
No description yet available.
Usage
The template takes no parameters.
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified
NOTE: Please do not use this template directly! This is just for translation. Use {{TemplateBox}} instead!