Meta:通用消息
想要幫忙翻譯嗎?翻譯缺少的譯文。
通用消息是国际化中频繁使用的单词或短语。
非常鼓励使用这些消息,这样可以减轻译者的工作量。
Built-in messages
You may use {{int}} template to display a system message in current page language using translations provided by Translatewiki.net. This is helpful to automatically translate:
- Wikimedia global project names, e.g.
{{int|wikibase-otherprojects-commons}}
gives “维基共享资源”. - Wikimedia local project names, e.g.
{{int|project-localized-name-frwiki}}
gives “法语维基百科”. - Months, e.g.
{{int|September}}
gives “9月”.
{{#language:}}
parser function allows you to display language names. E.g.{{#language:fr|ar}}
will display “French” in Arabic.- {{Lg}} template allows you to display language names in current page language. E.g.
{{lg|fr}}
will display “French” in current page language.
- {{Lg}} template allows you to display language names in current page language. E.g.
维基数据
You can get common names from Wikidata thanks to {{Label}} template.
- Country names are available through {{Country}} template.
Meta-Wiki translation system
Meta-Wiki uses the Translate extension to provide multilingual support to wiki pages and templates.
These templates make use of translations which have already been created within this system (database):
- {{Int string}}: Provides common messages (strings) used in navigation, table headers, timelines, and related non-sentence usages.
- {{Translated content}}: Displays translations already entered into the Meta-Wiki translation system from other pages or existing translations within the same page.
- {{Tunit}}: Displays translations already entered into the Meta-Wiki translation system from the same page.