Valve Developer Community:Alternative Languages

From Valve Developer Community
Jump to: navigation, search
Deutsch Español Français Italiano Русский 简体中文
Shortcut:
VDC:AL


This page is a reference on having alternative languages here on the Valve Developer Community.

Translating your page

Translating the page you want should be simple if you are fluent in a language. This article does not go into depth in translation of articles.

Required naming scheme

It is important that page, category, and article titles contain only ASCII characters in the format of "English title:language abbreviation". That is, keep a page's English title, and add a colon then the 2-letter ISO 639-2 alpha-2 language code for that language. For example Command Line Options:jp.

The reason for this is partially due to a technical limitation of the software the VDC runs on. Pages, titles, and categories with non-English characters (such as "д", "к", or "ỹ") do not get backed up correctly in the database. It is not a problem to use non-English text in the pages themselves, but the page/article titles cannot contain these non-English, non ASCII characters.

Please note that English articles are usually the originals and there is no :en tag required on them.

Adding links

Template:Otherlang2 generates a row of flags in the top-right of the page. Use it like this:

{{otherlang2
|title = Localized title of this page (title of the page in its own language) without the language suffix.
|es = Destination page:es
|de = Destination page:de
|jp = Destination page:jp
}}

The template must be the first text on the page! You should also do your best to update all the other translated pages, not just your own and English.

For examples and more information, see Template:Otherlang2.

Available languages

Languages available can be found in the Languages category.

In order to have your language category listed in the primary Languages category, add the following to your language's category article:

[[Category:Languages]]

Final notes

This guide is not definitive, but it makes things much simpler when everyone follows one method of using the templates, so everything in the wiki stays consistent throughout languages.