If you add a new file to our git tree and that file has translatable strings in it (e.g. a string enclosed in _()) then you must edit the file

install/po/Makefile.in

and add the file to one of the POTFILES list (currently there are two POTFILES lists, one for python sources and one for C sources). If the source code file is not listed in install/po/Makefile.in we won't pick up the translations for it. Sorry for introducing an extra manual step when adding a file but there is no way to automate this.

If the new file is neither a python file nor a C file you will need to create a new POTFILES list for the language type (language as in source code language) and update the update-pot target in the Makefile.in to include the new POTFILES list (making sure to pay attention to the --language argument of xgettext).

--
John Dennis <jden...@redhat.com>

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to