On Sat, 1 Dec 2007 15:07:21 +0100 wile64 <[EMAIL PROTECTED]> wrote: > > > > > > Using resourcestrings would assign every string property twice. > > > > The LCL form reader has a built in translator. You just need to > > setup LRSTranslator (unit lresources.pp). > > You can find an example in lcl/defaulttranslator.pas, but it only > > reads .mo files. > > We need a translator class using the po files directly. For example > > by using the TPOFile of lcl/translations.pas. > > Can you do that? > > > > > > Mattias > > > > > Ah this is something that is of interest, I will watch. > Thanks Mattias, You are the best ;-)
The main problem is getting the .po files, especially on inherited forms, where the strings come from multiple .po files. Somehow the IDE must gather all .po files of all packages used by the project and collect them all into the i18n directory of the project. Mattias _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives