Nicolas ROCHE <[email protected]> writes: > I try to run xgettext on a sql script and realize that string > extraction is not obvious for new languages. > > So, I will try to extract manually a pot file from my sql script and > to merge it > with the original POT of my project (created by the autotools) using msgcat. > > Next, I guess I will have too add a new Rules-* file in my po/ repository. > > Please, may you advice me if the way I'm willing to process sound not good ?
I don't see anything wrong in that procedure. I guess, after populating po/ directory with gettextize/autopoint, you can just add the manually created POT file into po/POTFILES.in. Then xgettext will be called to extract strings from the POT file in the same way as other source files. Regards, -- Daiki Ueno
