[Lazarus] Resource string constants support in the Object Inspector

Graeme Geldenhuys graemeg.lists at gmail.com
Mon Mar 17 14:31:31 CET 2008

On 17/03/2008, Mattias Gärtner <nc-gaertnma at netcologne.de> wrote:
> We talked about that. AFAIR it came down to this:
>  For the biggest part of the TTranslateStrings it is sufficient to use the
>  package name plus original value as identifier for the lookup. For example all
>  OkButton captions can use one translation.

And for identifier lookup to work with Lazarus's translation (gettext)
unit, the patch submitted in Mantis bug #10938
[http://bugs.freepascal.org/view.php?id=10938] needs to be applied.

BTW:  Locale information/standards suck under *unix environments,
unless you lock yourself into 'libc' which limits you to Linux/x86.
:-(  Because of that the LongMonthNames, LongDayNames etc arrays in
RTL never gets translated, no matter to what value you set LANG etc.
For that reason fpGUI's toolkit translation files contain translated
text for those arrays and date/time formats etc...

Does that have an affect on LCL based applications as well? Or is it
only because fpGUI talks directly to Xlib and not via GTK, GTK2 or Qt
toolkits which probably implement there own locale settings.

  - Graeme -

fpGUI - a cross-platform Free Pascal GUI toolkit

More information about the Lazarus mailing list