Reputation: 16186
I'm writing a program for both Delphi and Lazarus/FreePascal, so I can also reach customers using Linux or Mac OS X.
Is there a cross-platform tool that works in both environments too, so I can add multiple languages?
I tried GNU Gettext for Delphi and C++ Builder, but it does not compile in Lazarus for Mac OS X.
Is there anything comparable?
Upvotes: 1
Views: 961
Reputation: 26356
No, simply since the only system that FPC uses is gettext.
Lazarus afaik uses gettext, also on OS X, but obviously the FPC one, not the delphi one.
I suggest you devote some more attention to getting the gettext solution to work, maybe asking specific questions here.
In reply to your comment:
If I look in the LCL, I see in the translate routines stuff that translates properties of tpersistents, but only for special "TTranslatestrings" fields. So it doesn't seem to translate full forms directly.
Did you have a look at this:? http://wiki.lazarus.freepascal.org/DxGetText
Upvotes: 1
Reputation: 1046
This one is note entirely free, but parts of it are: (The GUI editor isn't, but the code parts are, and the editor isn't strictly required):
http://www.be-precision.com/products/precision-langs/
Upvotes: 0
Reputation:
DKLang Localization Package is an open source project that works very well. It has not been tested under FreePascal, but we would be willing assist with any needed changes.
Upvotes: 0