Hello everybody. In last commit of mseide-msegui was added a new define: "mse_dynpo". When this define is enabled ( -dmse_dynpo as fpc parameter ) you will be able to use the "po" way instead of "mseconst_xy.pas" way used till now.
The "mseconst_xy.pas" way uses a pascal file for each language and must be compiled to use it. It has the advantage that all your languages are included into the binary but it blows it and no change nor adding a new language is allowed after compilation. The "po" way has only one default mseconst_dynpo.pas with all the words (usualy in English) compiled into the binary. When charging a language, a array of strings will be filled and used for the new captions after check with the compiled consts. You may add how many po files or change it without the need to recompile the application. By default it is the "mseconst_xy.pas" way that will be used. There is a demo with some po tools in /mseide-msegui/tools/potools/ You may also compile mseide himself with the -dmse_dynpo parameter (but translation is only for caption of widgets, like dialogs, mseide forms are not translated (yet?). Comments are very welcome. Fre;D
_______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk