|
14.
|
|
|
When the None language is selected, most of Ren'Py's translation functionality is disabled.
|
|
|
|
None 言語が選択されたときは、Ren'Py のほとんどの翻訳機能が無効化されます。
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/translation.rst:41
|
|
15.
|
|
|
Alternate languages are referred to by names which can double as python identifiers. (Starts with a letter or underscore, followed by letters, numbers, and underscores.)
|
|
|
|
副言語は、Python の識別子としても振る舞える名前によって関連付けられます。(英字またはアンダースコアで始まり、英数字とアンダースコアが続きます。)
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/translation.rst:44
|
|
16.
|
|
|
Generating Translation Files
|
|
|
|
翻訳ファイルの生成
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/translation.rst:49
|
|
17.
|
|
|
When the project scripts are available, translation files can be generated by opening the project in the Ren'Py Launcher, and choosing "Generate Translations". The launcher will prompt you for the name of the language to generate, and will then proceed to create or update the translation files.
|
|
|
|
プロジェクトのスクリプトが利用できる場合、Ren'Py ランチャーでプロジェクトを開き「Generate Translations」を選ぶことで翻訳ファイルを生成できます。ランチャーは生成する言語の名前の入力を求めた後、翻訳ファイルの作成または更新を行います。
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/translation.rst:51
|
|
18.
|
|
|
The translation files live in directories underneath the "tl" subdirectory of the game directory. For example, if you create a piglatin translation of the tutorial project, translation files will be placed under ``tutorial/game/tl/piglatin``.
|
|
|
|
翻訳ファイルはゲームディレクトリーの中の「tl」サブディレクトリーの下に設置されます。例えばチュートリアルプロジェクトの piglatin の翻訳を作成した場合、翻訳ファイルは ``tutorial/game/tl/piglatin`` の下に設置されます。
|
|
Translated by
Koichi Akabe
|
|
Reviewed by
akakyouryuu
|
|
|
|
Located in
../../source/translation.rst:57
|
|
19.
|
|
|
There will be one translation file created per game script file. The common.rpy file will also be created to contain translations of strings found in the common code.
|
|
|
|
ゲームのスクリプトファイル1つに対して翻訳ファイルが1つ作成されます。共通のコードで見つかった文字列の翻訳を含めるために、common.rpy ファイルも作成されます。
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/translation.rst:62
|
|
20.
|
|
|
Translating Dialogue
|
|
|
|
台詞の翻訳
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/translation.rst:67
|
|
21.
|
|
|
As Ren'Py is a visual novel engine, we expect most translation to involve dialogue. Ren'Py includes a flexible framework that allows dialogue to be split, combined, reordered, and omitted entirely.
|
|
|
|
Ren'Py ビジュアルノベルエンジンの開発者としては、ほとんどの翻訳が台詞と対応することを期待しています。Ren'Py には柔軟なフレームワークがあり、台詞の分割、結合、並べ替え、完全な省略を行えます。
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/translation.rst:69
|
|
22.
|
|
|
Translation Units
|
|
|
|
翻訳ユニット
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/translation.rst:74
|
|
23.
|
|
|
The fundamental unit of translation is a block of zero or more translatable statements, optionally followed by a single say statement. Translatable statements are the voice and nvl statements. For example take the following game::
|
|
|
|
翻訳の基本ユニットには、空のブロックから複数の翻訳可能なステートメントまであり、必要に応じて単一の say ステートメントが続きます。翻訳可能なステートメントは voice ステートメントと nvl ステートメントです。例えば、次のゲームを見て下さい::
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/translation.rst:76
|