Vintage Story Wiki:How to translate the wiki/ru: Difference between revisions

From Vintage Story Wiki
Updating to match new version of source page
(Created page with "Затем сохраните и повторно отметьте страницу для перевода, чтобы обновить страницу на всех язы...")
(Updating to match new version of source page)
Line 71: Line 71:
=== Теги категорий с поддержкой перевода ===
=== Теги категорий с поддержкой перевода ===


<div class="mw-translate-fuzzy">
В статье, которая должна быть включена в переводимую категорию, измените теги категории, чтобы они гласили:
В статье, которая должна быть включена в переводимую категорию, измените теги категории, чтобы они гласили:
</div>


<code><nowiki>[[Category:CategoryName{{#translation:}}]]</nowiki></code>
<code><nowiki>[[Category:CategoryName{{#translation:}}]]</nowiki></code>
Line 78: Line 80:


Затем сохраните и повторно отметьте страницу для перевода, чтобы обновить страницу на всех языках.
Затем сохраните и повторно отметьте страницу для перевода, чтобы обновить страницу на всех языках.
== Using translation variables ==
''Note: our version of the Translate extension is outdated, so current MediaWiki documentation does not apply for this feature.''
Sometimes, you ''don't'' want to translate something in a page - maybe it is something like a number, a special link name, or some piece of code that should not be translated. In this case, you can use a translation variable in order to make sure translation of the page does not change it.
Translation variables are written like this: <code><nowiki>&lt;tvar&#124;name&gt;variable&lt;/&gt;</nowiki></code>
To translators, it will look like this:
: some text that isn't the variable ''$name'' some more text
When translating, simply paste in the ''$name'' part and it will appear in your translation exactly as it is in the original page.
=== Example ===
<code><nowiki>Hello! This is a sentence which includes a translation variable: &lt;tvar&#124;tvar-example&gt;&#128578;I'm a translation variable&lt;/&gt;. Look at it in different languages!</nowiki></code>
Hello! This is a sentence which includes a translation variable: &#128578;I'm a translation variable. Look at it in different languages!




[[Category:Wiki Editing]]
[[Category:Wiki Editing]]
43,007

edits