2011-09-21 18 views

cevap

12

Po dosyalarınızı yeni kod ile güncelleştirmek için this script'a bakabilirsiniz. xgettext ve msgmerge kullanın.

make update-po 

ya: basitçe po alt dizinine dönüşür ve çalıştırabilir autoconf ve automake kullanma

echo '' > messages.po # xgettext needs that file, and we need it empty 
find . -type f -iname "*.py" | xgettext -j -f - # this modifies messages.po 
msgmerge -N existing.po messages.po > new.po 
mv new.po existing.po 
rm messages.po 
+0

Bu ben birine ihtiyacım iki komutları birleştirmek olduğunu büyüktür . +1 –

+0

Pencerelerde ne var? – Manu

+0

@Manu: [Pencereler için bir gettext] var (http://gnuwin32.sourceforge.net/packages/gettext.htm) –

İlgili konular