Различия
Здесь показаны различия между двумя версиями данной страницы.
Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
translate:перевод_документации [2013/03/18 23:22] Страница translate:команда_документирования переименована в translate:перевод_документации (Явно неподходящее имя) |
translate:перевод_документации [2013/06/21 08:34] (текущий) [1. Generating a translation template] |
||
---|---|---|---|
Строка 80: | Строка 80: | ||
The rest of this page is a description of how the Documentation Team work gets translated and inserted into Ubuntu. It is primarily intended for reference of the Documentation Team: translators do not need to know all this information. | The rest of this page is a description of how the Documentation Team work gets translated and inserted into Ubuntu. It is primarily intended for reference of the Documentation Team: translators do not need to know all this information. | ||
- | ===== Package Requirements ===== | + | ===== Требования к пакетам ===== |
- | To install all packages required to build ubuntu-docs, including translations, run: | + | Для установки всех пакетов, необходимых для создания ubuntu-docs, включая переводы, выполните: |
<code>apt-get build-dep ubuntu-docs</code> | <code>apt-get build-dep ubuntu-docs</code> | ||
Строка 101: | Строка 101: | ||
* For documents spread over more than one file, these can be included as follows: | * For documents spread over more than one file, these can be included as follows: | ||
<code>xml2po -e -o output.pot chapter1.xml chapter2.xml</code> | <code>xml2po -e -o output.pot chapter1.xml chapter2.xml</code> | ||
- | * **IMPORTANT:** For documents which have an omf file, these should also be included in the pot file. | + | * **ВАЖНО:** For documents which have an omf file, these should also be included in the pot file. |
* As a result, generally the appropriate command is: | * As a result, generally the appropriate command is: | ||
<code>xml2po -e -o output.pot C/*.xml C/*.omf</code> | <code>xml2po -e -o output.pot C/*.xml C/*.omf</code> | ||
- | **NOTE:** We have an automatic script to generate POT files, called 'get-pot.sh'. Running this script refreshes the POT files for all documents. | + | **ПРИМЕЧАНИЕ:** We have an automatic script to generate POT files, called 'get-pot.sh'. Running this script refreshes the POT files for all documents. |
==== 2. Letting the translators work their magic ==== | ==== 2. Letting the translators work their magic ==== |