[Lazarus] Translations / Localizations for controls at design time
Graeme Geldenhuys
graemeg.lists at gmail.com
Tue Jul 31 19:55:32 CEST 2012
Hi,
On 31 July 2012 17:39, Jürgen Hestermann <juergen.hestermann at gmx.de> wrote:
>> * No auto-detect of language when the application starts up.
> Why is that not possible? If you can detect the language then you can also
> simply set the language variable to whatevery is needed and call the
OK, true.
>> * When new languages are added, you must rebuild the whole application
>> (executable).
> Yes. But why is this a drawback?
Huge. Every time you update a translation, you have to go through the
whole Build & Test & Release process - because you are bound to have
added new features to your application - so testing is required and
time consuming. In my case, I can simply email my clients an update
*.po file.
> Well, I mostly find all these "brilliant" features more disturbing than
> helpful. And you also have a learning curve to investigate in these tools
> that eats up time.
I also remember you saying.... "I have not done very much localization"
>> * Quickly see a percentage of translation per language.
> What do you mean? The number of languages that have been translated?
No, how far each translation is to being 100% complete. In large
projects this is very handy, when you have to report back to the boss.
Most of those PO editors include such a feature.
> Well, this reduces the probability of miss-translation but if you have the
> code nearby and maybe even comments then you have much more information of
> what is meant in this case.
In medium to large scale projects, the translator is just that - they
are not programmers. So showing them any code will just confuse the
hell out of them.
> Also, sometimes the length of the text is important too (so that a button
> caption can still be displayed and does not exceed the borders).
Then design your applications to scale the UI correctly. Content and
DPI aware applications should be the norm these days! If not, then you
are doing something wrong.
--
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net
More information about the Lazarus
mailing list