xgettext -C -n -k_ -kwxPLURAL:1,2 -kwxTRANSLATE -o internat.po ../internat.cpp
# .po file for wxWindows might be generated in the same way. An already
- # generated wxstd.po as well as translations for some languages can be
+ # generated wxstd.pot as well as translations for some languages can be
# found in the locale directory.
- cp ../../locale/<language>.po ./wxstd.po
+ cp ../../locale/<language>.po ./wxstd.pot
- or -
- cp ../../locale/wxstd.po .
+ cp ../../locale/wxstd.pot .
# now edit the files and do translate strings (this isn't done by gettext)
- # you can use another editor if you wish :-) No need to edit wxstd.po if you
+ # you can use another editor if you wish :-) No need to edit wxstd.pot if you
# already got a translated one.
- vi internat.po wxstd.po
+ vi internat.po wxstd.pot
# create the message catalog files
msgfmt -o internat.mo internat.po
- msgfmt -o wxstd.mo wxstd.po
+ msgfmt -o wxstd.mo wxstd.pot
# run the sample to test it
cd ..