Jump to content

Мета: Често срещани съобщения

From Meta, a Wikimedia project coordination wiki
This page is a translated version of the page Meta:Common messages and the translation is 13% complete.

Common messages are words and phrases frequently used in internationalization.

Use of these messages helps reduce the workload for translators and is greatly encouraged.

Вградени съобщения

Основна статия: Meta:Common messages/Built-in messages

Можете да използвате шаблон {{int}}, за да покажете системно съобщение на текущия език на страницата, като използвате преводи, предоставени от Translatewiki.net. Това е полезно за автоматичен превод:

  • Глобални имена на проекти на Wikimedia, напр.{{int|wikibase-otherprojects-commons}} връща “Общомедия”.
  • Местни имена на проекти на Wikimedia, напр. {{int|project-localized-name-frwiki}} дава “Уикипедия на френски”.
  • Месеци, на пр. {{int|September}} дава “септември”.
  • {{#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.

Уикиданни

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.

Вижте също