Valve Developer Community:Ru/Alternative Languages: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Undo changes)
No edit summary
 
(28 intermediate revisions by 17 users not shown)
Line 1: Line 1:
{{otherlang2
{{LanguageBar}}
|en=Valve_Developer_Community:Alternative_Languages
|zh-cn=Valve_Developer_Community:Alternative_Languages:zh-cn
}}
{{totranslate:ru}}
{{finishtranslation}}
This page is a reference on having alternative languages on the Valve Developer Community.
 
== Перевод статьи ==
Переводить статьи легко, если вы хорошо владеете языком, на котором написана та статья, но не стоит переводить статьи "слово-в-слово". Множество статей при буквальном переводе на другой язык теряют смысл и выглядят неэстетично с точки зрения грамматики.
 
=== Required naming scheme ===
Очень важно, чтобы статья, категория или раздел в своём имени содержали только [[Wikipedia:ASCII|ASCII-символы]]; их названия должны соответствовать формату "Английское название:аббревиатура языка", т.е., заголовок должен быть на английском языке, затем после двоеточия - двухбуквенное сокращение языка.
{{Note:ru|По языковым кодам см. статью [[Wikipedia:ISO 639-2|ISO 639-2 alpha-2]]}}
 
Пример: [[Command Line Options:ru]]
 
Основной причиной использования английских названий статей являются технические ограничения программного обеспечения VDC. Страницы, категории и подкатегории с символами другого языка (не английского) не записываются корректно в базе данных. Конечно, использовать текст на другом языке в содержании статьи можно, но название статьи должно содержать только английские символы, вернее, символы [[Wikipedia:ASCII|ASCII-кодировки]].
 
{{Note:ru|Обычно страница на английском - это оригинал статьи, и на него не нужно использовать сокращения :en}}
 
 
== Другие языковые шаблоны ==
The templates used to mark a page that is translated into other languages are set up so they can be used for and in any language.
 
Example for an English page that has a Japanese translation:
<pre><nowiki>
{{otherlang:en}}
{{otherlang:en:jp|Destination page:jp}}
</nowiki></pre>
 
Example for a Spanish page that has English and German translations:
<pre><nowiki>
{{otherlang:es}}
{{otherlang:es:en|Destination page}},
{{otherlang:es:de|Destination page:de}}
</nowiki></pre>
 
=== Syntax form ===
If you notice, there are several parts to the templates used to create these statements. The first part,
<code><nowiki>{{otherlang:</nowiki>'''Current language code'''<nowiki>}}</nowiki></code>
represents the ''This language is avaliable in:'' in that language. It is followed one or more statements of
<code><nowiki>{{otherlang:</nowiki>'''Current language code'''<nowiki>:</nowiki>'''Destination language code'''<nowiki>|</nowiki>'''Destination page'''<nowiki>}}</nowiki></code>
which has text written in both the current page's language and the destination page's language, which links to the destination page.
 
== Adding links ==
 
[[Template:Otherlang2]] generates a row of flags in the top-right of the page. Use it like this:
 
<pre><nowiki>
{{otherlang2|
es = Destination page:es|
de = Destination page:de|
jp = Destination page:jp
}}
</nowiki></pre>
 
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.
 
== Доступные языки ==
Все доступныые языки можно найти в [[:Category:Languages|этой категории]].
 
In order to have your language category listed in the primary Languages category, add the following to your language's category article:
<nowiki>[[Category:Languages]]</nowiki>
 
== 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.
 
[[Category:Languages]]

Latest revision as of 07:08, 22 August 2024

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Hrvatski (hr)Italiano (it)Português do Brasil (pt-br)Русский (ru)中文 (zh)Translate (Translate)
Info content.png
This page needs to be translated.
This page either contains information that is only partially or incorrectly translated, or there isn't a translation yet.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.(en)
This notice is put here by LanguageBar template and if you want to remove it after updating the translation you can do so on this page.