Skip to content

Commit 006d169

Browse files
committed
Note that translation workflow is WIP now.
Signed-off-by: OGINO Masanori <[email protected]>
1 parent 1ba61b9 commit 006d169

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

doc/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,15 @@ http://kramdown.rubyforge.org/quickref.html
4747

4848
# Notes for translators
4949

50+
Notice: The procedure described below is a work in progress. We are working on
51+
translation system but the procedure contains some manual operations for now.
52+
5053
To start the translation for a new language, see po4a.conf at first.
5154

5255
To generate .pot and .po files, do something like:
5356

5457
~~~~
55-
po4a --copyright-holders="The Rust Project Developers" \
58+
po4a --copyright-holder="The Rust Project Developers" \
5659
--package-name="Rust" \
5760
--package-version="0.10-pre" \
5861
-M UTF-8 -L UTF-8 \
@@ -71,13 +74,13 @@ change:
7174

7275
~~~~
7376
for f in doc/po/**/*.po; do
74-
msgattrib --untranslated $f -o $f.strip
77+
msgattrib --translated $f -o $f.strip
7578
if [ -e $f.strip ]; then
7679
mv $f.strip $f
7780
else
7881
rm $f
7982
fi
8083
done
81-
~~~~
84+
~~~~
8285

8386
This removes untranslated entries from .po files to save disk space.

0 commit comments

Comments
 (0)