Created
September 25, 2013 13:36
-
-
Save vbkaisetsu/6699691 to your computer and use it in GitHub Desktop.
Ren'Py Documentation 翻訳手順
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Launchpad で翻訳を進めます | |
2. bzr を使って、翻訳データを手元にブランチします | |
$ bzr branch lp:~vbkaisetsu/renpy-doc/renpy-doc-translation | |
この作業により、カレントディレクトリーに renpy-doc-translation フォルダーが作成されます。 | |
2回目以降は、renpy-doc-translation の中で次のコマンドを実行して翻訳データを更新します | |
$ bzr pull | |
3. git で Ren'Py の開発ディレクトリー(以下 renpy-dev) を更新します | |
4. renpy-doc-translation の中の sphinx フォルダーを、renpy-dev の中の sphinx フォルダーにマージします | |
この結果、以下のようなディレクトリー構造になります | |
renpy-dev | |
| | |
|- ... | |
| | |
|- sphinx | |
| |- developer | |
| |- game | |
| |- locale | |
| | |- android | |
| | | |- ja.po | |
| | | |- fr.po | |
| | | ... | |
. | | | |
. | |- atl | |
. | | |- ja.po | |
| | |- fr.po | |
| | ... | |
| ... | |
| | |
|- source | |
|- Makefile | |
... | |
5. sphinx ディレクトリーの中で以下のコマンドを実行し、po をコンパイルします | |
$ make compile-po | |
6. 翻訳済みの html ドキュメントを作成します | |
$ LANGUAGE=ja make html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment