[Lazarus] Localization in toolkit like fpGUI

Mattias Gärtner nc-gaertnma at netcologne.de
Tue Feb 19 11:27:49 CET 2008


Zitat von Graeme Geldenhuys <graemeg.lists at gmail.com>:

> On 19/02/2008, Mattias Gärtner <nc-gaertnma at netcologne.de> wrote:
> >
> > .po files can be compiled in. Either via lrs or resources.
> > OTOH a library should load the translations on start.
> > So the compiled .po files can be used as nice default. But you get into
> trouble
> > if the library gets successful and translated to many languages. So loading
> > support is a must for a good library.
>
> Umm, I'll look into the compiled in .po files.  Loading at runtime
> always sounds good, but I don't think fpGUI can be considered as a
> library yet.  To me a library is a .dll or .so file. fpGUI is a
> package of units compiled into a executable.

I don't see how this matters here. A good lib must be able to load a translation
without recompiling.


> I don't really know what is the advantages of making fpGUI into a
> library (eg fpgui.dll or fpgui.so file) compared to a nice single
> executable.

I don't know neither.

[...]

Mattias




More information about the Lazarus mailing list