On 23/08/07 02:01 +0200, [EMAIL PROTECTED] wrote: > > Google told me that fabien gave the answer long time ago. > Check below if somebody still have the similar question. > Through trial and error, I find out that the effective directory for the mo > language file should be under tiny/bin/share/locale/.... > > ?? PYTHON_FILES means all Python files under client directory?? > > updating the .pot file: > xgettext -k_ -kN_ -o bin/po/terp-msg.pot $(PYTHON_FILES) bin/terp.glade > > merging the sv.po with the .pot file > msgmerge bin/po/sv.po bin/po/terp-msg.pot -o bin/po/sv.po > > Regenerating the .mo file > msgfmt bin/po/sv.po -o bin/po/sv/LC_MESSAGES/terp.mo >
You can use the new setup options: Update *.pot files and merge to po: python setup.py build_po Generate the *.mo files: python setup.py build_mo -- Cédric Krier Tiny sprl Chaussée de Namur, 40 B-1367 Gérompont Belgique Tel: +32.81.81.37.00 Fax: (+32) 81.73.35.01 Web: http://tiny.be
pgpdYlXmV8Gsi.pgp
Description: PGP signature
_______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman/listinfo/tinyerp-users
