diff options
| author | OGINO Masanori <masanori.ogino@gmail.com> | 2014-01-14 21:30:15 +0900 |
|---|---|---|
| committer | OGINO Masanori <masanori.ogino@gmail.com> | 2014-01-14 21:30:15 +0900 |
| commit | 006d169a2fcc45e7ae5404bfb20e37063b3ef481 (patch) | |
| tree | 7097ed4419c91079bba448214a972282da227a90 | |
| parent | 1ba61b915b39cd81deb24b782906e3cf5f409944 (diff) | |
| download | rust-006d169a2fcc45e7ae5404bfb20e37063b3ef481.tar.gz rust-006d169a2fcc45e7ae5404bfb20e37063b3ef481.zip | |
Note that translation workflow is WIP now.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
| -rw-r--r-- | doc/README.md | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/README.md b/doc/README.md index 7757818828d..9135650c31b 100644 --- a/doc/README.md +++ b/doc/README.md @@ -47,12 +47,15 @@ http://kramdown.rubyforge.org/quickref.html # Notes for translators +Notice: The procedure described below is a work in progress. We are working on +translation system but the procedure contains some manual operations for now. + To start the translation for a new language, see po4a.conf at first. To generate .pot and .po files, do something like: ~~~~ -po4a --copyright-holders="The Rust Project Developers" \ +po4a --copyright-holder="The Rust Project Developers" \ --package-name="Rust" \ --package-version="0.10-pre" \ -M UTF-8 -L UTF-8 \ @@ -71,13 +74,13 @@ change: ~~~~ for f in doc/po/**/*.po; do - msgattrib --untranslated $f -o $f.strip + msgattrib --translated $f -o $f.strip if [ -e $f.strip ]; then mv $f.strip $f else rm $f fi done -~~~~ +~~~~ This removes untranslated entries from .po files to save disk space. |
