[Lazarus] Translations / Localizations for controls at design time

Krzysztof dibo20 at wp.pl
Tue Jul 31 20:23:04 CEST 2012


BTW: Someone of Lazarus Team reading sometimes this news group? I mean
should I post this proposition in bug tracker (mantis?). Exactly this
solution:

> I know there is many ways to do this in runtime (in my case, in my
> framework I have TBaseForm which has virtual method TranslateControls,
> descendant forms override it and do translation on local controls) but
> referring to the idea of RAD, in future it could be works in few
> simple "click" steps:
> 1. Drop TLabel on form
> 2. Go to object inspector, execute Caption editor
> 3. If you don't want translation then write raw text otherwise choise ID (some listbox) from associated translation file
> 4. Click OK
>
> That exactly Eclipse works. It would be nice to see it future in Lazarus

I really like this solution of Eclipse. I don't know how Delphi > 2010
localization working (I had no chance to test it), but what I read, it
has some built in localization manager.




More information about the Lazarus mailing list