How to ask GNU GetText (dxGetText) to ignore certain properties of Delphi components (especially SQL texts)?

Viewed 732

I am using GNU GetText for Delphi (http://dxgettext.po.dk/download https://sourceforge.net/projects/dxgettext/ with corrections for Windows 10 dxgettext and Windows 10) for extraction of translation .po files from Delphi source code (.pas and *.dfm files). Usually GetText grabs the texts from SQL queries as well, splits them into individual strings. The *.po file becomes messy and I am not sure whether translation will not be applied for the (undesirable) modification of SQL texts as well.

E.g. I am not using sole word "where" in captions in my program, but GetText extracts "where" occurences from alomst every SQL query text.

So - how can I ask GetText, that e.g. it does not extract text from TIBQuery.SelectSQL?

I am aware of the API functions like procedure TP_GlobalIgnoreClass (IgnClass:TClass);, but I guess that these functions acts only in runtime. But I would like to apply ignore to *.po file already.

0 Answers
Related