[lazarus] Localization site
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Sep 16 06:16:08 EDT 2002
On Mon, 16 Sep 2002 11:54:43 +0200
Michal Bukovjan <bukovjan at mbox.dkm.cz> wrote:
> Mattias Gaertner wrote:
>
> >>I've made a temporary
> >>hack - moving initialization to a proc - in idecomp. But it would be a
> >>good idea to load all internationalization not from constrctor, but from a
> >>unit initialization, which must not be the last in unit lists.
> >>
> >>
> >
> >It doesn't matter for the IDE. The IDE should support language switching at runtime. Of course this needs Translate procs for every dialog.
> >
> >
> I wouldn't recommend this. Sounds like a lot of work.
It is very little extra work compared to localization lazarus.
> IMHO, on Unix this
> should be handled by LC_ALL (and similar) environment variables. If
> someone wants always a different language just for this application, he
> can always start it like this:
>
> export LC_ALL=cs_CZ; ./lazarus
Hmm. Lazarus is a visual thing. IMO a good IDE should never need to restart and there should be a graphical frontend for _every_ setting. And it's easy to implement.
> i.e., I recommend no explicit language switching inside IDE.
It's open source. If one implements it and it does not bite, it will go into the source. :)
> Of course,
> I assume that FPC has some means of runtime resourcestring substitution
> from compiled .po files like other gettext (C) programs under Linux have?
Mattias
More information about the Lazarus
mailing list