Skip to content

Instantly share code, notes, and snippets.

@vbkaisetsu
Created September 25, 2013 13:36
Show Gist options
  • Save vbkaisetsu/6699691 to your computer and use it in GitHub Desktop.
Save vbkaisetsu/6699691 to your computer and use it in GitHub Desktop.
Ren'Py Documentation 翻訳手順
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