Открыть меню
Открыть персональное меню
Вы не представились системе
Your IP address will be publicly visible if you make any edits.

Модуль:Translate/doc

Материал из wiki.iccup.org

Это страница документации Модуль:Translate.

Semantic MediaWiki is not installed or configured properly.

Function list
L 24 — guessDataset
L 39 — load
L 65 — formatMessage
L 91 — methodtable.format
L 109 — methodtable.formatInLanguage
L 124 — Translate.doc
L 136 — Translate.getTemplateData
L 232 — methodtable.translate
L 248 — multilingualIfActive
L 279 — Translate.new

{{#seo:

| type = website | description = Модуль:Translate/doc is a template page used on the iCCup Wiki. Templates are pages that are embedded (transcluded) into other pages to allow for the repetition of information. | site_name = iCCup Wiki | locale = ru }}

This module allows templates and modules to be easily translated as part of the multilingual templates and modules project. Instead of storing English text in a module or a template, Translate module allows modules to be designed language-neutral, and store multilingual text in the /i18n.json subpage. This way your module or template will use those translated strings (messages), or if the message has not yet been translated, will fallback to English. When someone updates the translation table, your page will automatically update (might take some time, or you can purge it), but no change in the template or module is needed on any of the wikis. This process is very similar to MediaWiki's localisation, and supports all standard localization conventions such as {{PLURAL|...}} and other parameters.

See also

Содержание