[Lazarus] Translations / Localizations for controls at design time

Krzysztof dibo20 at wp.pl
Tue Jul 31 13:28:27 CEST 2012


Hi,

I'm reading article about localizations in lazarus:
http://wiki.freepascal.org/Translations_/_i18n_/_localizations_for_programs
. Exists any way to assign translate const to the caption in design
time or must I assign translated consts to all controls manually (on
form create)? I'm asking, because I wrote recently some small
application for android (java + eclipse) and I drew attention to
locations mechanism. So in eclipse, caption editor suggest ID from
localization file (strings.xml) and in form resource (equivalent of
LFM) it looks like: Caption = "@strings/some_id".
This works very fine and could be useful not only for translations but
for connecting captions to standard string consts.

Regards




More information about the Lazarus mailing list