El

From Valve Developer Community
Jump to: navigation, search

Here are the steps for translating a page in English into other languages:

  1. Copy the content of the English page. If there isn't a {{LanguageBar}}, then you should add one at the start of the page.
  2. Follow the requirement of titles to entry the creating page of the corresponding language page.
  3. Start translating. Conventions:
    1. The links on the translated page within this website need to use template {{L}}. For example, [[ExampleLink]] will become {{L|ExampleLink}}. If the link has alternative name, then follow this format: {{L|<link name>|<alternative name>}}. So you can use altname for translating links. {{L|Cubemaps|反射贴图}} is an example, which is used in Chinese. External links don't need.
    2. The categories on the page also need to use {{ACategory}}. The method is the same as above. For example, [[Category:Entities]] will become {{ACategory|Entities}}.
      If the category is a link instead of that adding the page to itself, use {{LCategory}} (i.e. [[:Category:Entities]]{{LCategory|Entities}}). These 2 templates also support altname like that in {{L}}.
    3. Templates itself remain unchanged because the language and text inherent in the template are automatically translated. But you need to translate the value of the parameter used in the template. For example, the notes written by {{Note}} won't be translated and you should translate them.
  4. After finishing translating, save your contributions.

For more info, see this page Project:Alternative Languages(en).

Common /string pages

See Also