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

From Vintage Story Wiki
m
typo fix
(added instructions for category translation, added principles for translation)
m (typo fix)
Line 80: Line 80:
=== Translating a Category page ===
=== Translating a Category page ===


You can tag a Category page for translation in the same way as any other page, by adding <code><nowiki><languages/></nowiki></code> for the language selector bar then adding a set of <code><nowiki><translate></nowiki></code><code><nowiki></translate></nowiki></code> tags. The translate tags must be present even if there is no content in the Category page. [https://wiki.vintagestory.at/index.php?title=Category%3AItems&type=revision&diff=43848&oldid=28218 See this diff]] as an example of what to add to an empty Category page.
You can tag a Category page for translation in the same way as any other page, by adding <code><nowiki><languages/></nowiki></code> for the language selector bar then adding a set of <code><nowiki><translate></nowiki></code><code><nowiki></translate></nowiki></code> tags. The translate tags must be present even if there is no content in the Category page. [https://wiki.vintagestory.at/index.php?title=Category%3AItems&type=revision&diff=43848&oldid=28218 See this diff] as an example of what to add to an empty Category page.


=== Translation-aware category tags ===
=== Translation-aware category tags ===
Confirmedusers, editor
2,823

edits