Commons:Template i18n
Commons is a multi-language project, where much of the content of each page is shown in the language of the user. To accomplish that Commons uses great many templates, each translating a single word, phrase, license template, etc. On Commons translations are also referred to as localizations or internationalizations (i18n).
Translation mechanisms
[edit]Over the years several, mechanisms for translations were developed. Most of them are still in use, although some early mechanisms are being phased out.
Translations using MediaWiki namespace - one can put multiple translations of a string in sub-pages of MediaWiki page. For example
MediaWiki:Com-poty-cat-people has a dozen translations of the phrase "People and human activities". Adding {{int:Com-poty-cat-people}}
to the page will show the message in the language of the user.
using Translatewiki - There is some misterious mechanism of cloning translations from Translatewiki into Commons MediaWiki namespace. Fow example [https://translatewiki.net/wiki/Special:Translations/MediaWiki:wm-license-information-author
Translations of individual templates
[edit]The pages below track translations of individual templates.
The templates are divided into groups:
- Templates using subpages for translations into different languages:
- Infobox templates
- License tags
- Creative Commons license tags: CC-zero, CC-by-1.0, CC-by-2.0 and CC-by-2.1
- Creative Commons license tags: CC-by-2.5
- Creative Commons license tags: CC-by-3.0
- Creative Commons license tags: CC-by-sa and CC-sa
- Creative Commons license tags: CC-by-sa-2.5
- Creative Commons license tags: CC-by-sa-3.0
- Public domain license tags: various
- Public domain license tags: US government (page 1)
- Public domain license tags: US government (page 2)
- Public domain license tags: country specific
- Header templates
- Marker templates
- Media cleanup templates
- Problem tags
- Restriction tags
- User templates
- Source templates
- Templates using {{LangSwitch}} template for translations
- Templates using {{Please translate}} to mark language specific template subpages with new untranslated parameters.
Besides these groups we have a list of most linked-to templates and some interface language statistics.