Adilson, ResourceStrings are exactly meant for that purpose. Read more on them in the FPC documentation. If you want a working example check the idetranslations.pas file in lazarus/ide. The nice thing is that lazarus reads it's translations directly from .PO, so you don't need to compile to .MO. In the lazarus directory there's a localize.bat file that converts the .rst files (generated by the compiler) to .PO files.
Darius > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi guys. > > I've been away from Lazarus and Pascal for a very long time and I want > to return to my favorite language, even if just for fun :) > I'm thinking about create a test application and I was wondering if > there is internal support to have texts in multiple languages. For > instance, can resource strings be used for that? > > []s > > Adilson. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.2 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFEm3ir2cB5Bt7H7YARAvGIAJ4m0nFMcinZWOzlT1zQ0p4C63JfXwCguhyk > QJTE8YLJh/rdpXFVm6ycXD0= > =b237 > -----END PGP SIGNATURE----- > > _________________________________________________________________ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives > _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
