Difference between revisions of "Paradatabase:Multilingual implementation/ru"

From paradatabase
Jump to navigation Jump to search
(Created page with "==Проблемы==")
(Created page with ":* Право на создание страницы есть у всех. А право на изменение ''PageLanguage'' не у всех. :* Изменение яз...")
Line 7: Line 7:
 
==Проблемы==
 
==Проблемы==
  
:* Everyone has the right to create a page. And not everyone has the right to change the ''PageLanguage''.
+
:* Право на создание страницы есть у всех. А право на изменение ''PageLanguage'' не у всех.
:* Changing the page language is not a primitive operation, but a specific sequence of steps that is often ignored or forgotten.
+
:* Изменение языка страницы - не примитивная операция, а определенная последовательность действий, которую часто игнорируют или забывают проделать.
:* Pages can be created not only in the base language. In this case the [https://www.mediawiki.org/wiki/Extension:Translate Extension:Translate] conflicts with the internal structure of MediaWiki.
+
:* Страницы могут создаваться не только на базовом языке. В этом случае [https://www.mediawiki.org/wiki/Extension:Translate Extension:Translate] вступает в противоречие с внутренним устройством MediaWiki.
To come over these problems, the following agreement is proposed.
 
  
  

Revision as of 07:27, 22 April 2019

Other languages:
Deutsch • ‎English • ‎français • ‎italiano • ‎русский

В MediaWiki страницы могут быть написаны на разных языках. Но у системы только один язык главный, который называется базовый язык. В Paradatabase базовый язык - английский

У каждой страницы есть параметр PageLanguage (Язык страницы). Он необходим внутренним программам для правильного представления и обработки текста. Этот параметр может быть изменен. Политика MediaWiki предполагает, что страница создается на базовом языке, а все ее переводы становятся ее подстраницами путем добавления в конец имени комбинации "слэш + код языка".


Проблемы

  • Право на создание страницы есть у всех. А право на изменение PageLanguage не у всех.
  • Изменение языка страницы - не примитивная операция, а определенная последовательность действий, которую часто игнорируют или забывают проделать.
  • Страницы могут создаваться не только на базовом языке. В этом случае Extension:Translate вступает в противоречие с внутренним устройством MediaWiki.


Agreement on pages in other languages

  • In the main namespace all pages are in English.
  • There is a list of supported languages.
  • For each of the supported languages, a namespace is created, the name of which is the language code. For the most common languages there is no problem. For example: Fr - French, De - German, Ru -Russian. It is easy to type three characters (for example, "Fr:") before the page name at the time of its creation.
  • In the namespace created for a specific language the PageLanguage parameter is set automatically according to this language. Translation of this page into another language is its subpage. The name of the translation page is obtained by adding to the name of the source page the combination “slash + language code” (for example, “Fr:Page name/de”). The PageLanguage parameter of translation is also automatically set.
  • Using Extension:Translate, it is possible to translate any of the source pages inside of any namespace. At the same time Extension:Translate correctly perceives the language of the source page and creates translations in the form of its sub-pages.
  • Languages of pages created in other (language independent) namespaces follow the same rules as in the main namespace