Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-08

Translating the Component Palette tabs

7 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

Can one translate the component palette tabs? I heard that German is the most up-to-date translation, and even so the words 'Standard', 'Additional', 'Common Controls' appear in the component palette when I switch the IDE to German language.

Is this an oversight in the IDE resource string (not existing resource strings), or does the translated languages simply not bother with the component palette?

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net

Reply by email

Maxim Ganetsky
to Graeme Geldenhuys

04.08.2012 20:35, Graeme Geldenhuys ?????:

Show quoted text 10 lines
Hi, Can one translate the component palette tabs? I heard that German is the most up-to-date translation, and even so the words 'Standard', 'Additional', 'Common Controls' appear in the component palette when I switch the IDE to German language. Is this an oversight in the IDE resource string (not existing resource strings), or does the translated languages simply not bother with the component palette?

It is not an oversight, it is more that a lot of such captions won't be translated anyway, e.g. "SynEdit", "LazControls", "fpWeb", "SQLdb". I think that it is better to keep palette not translated at all, than to have a (hard to read and navigate) mix of languages.

Best regards, Maxim Ganetsky mailto:

Reply by email

Sven Barth
to Maxim Ganetsky
Maxim Ganetsky wrote 17 lines
04.08.2012 20:35, Graeme Geldenhuys ?????: > Hi, > > Can one translate the component palette tabs? I heard that German is > the most up-to-date translation, and even so the words 'Standard', > 'Additional', 'Common Controls' appear in the component palette when I > switch the IDE to German language. > > Is this an oversight in the IDE resource string (not existing resource > strings), or does the translated languages simply not bother with the > component palette? It is not an oversight, it is more that a lot of such captions won't be translated anyway, e.g. "SynEdit", "LazControls", "fpWeb", "SQLdb". I think that it is better to keep palette not translated at all, than to have a (hard to read and navigate) mix of languages.

For the sake of completeness (not that I'm suggesting this as a solution): Delphi translates all tabs of components that belong to the IDE (e.g. Standard, Dialogs, Additional etc.), but not those of 3rd Party components (e.g. I can see "Indy Misc" in my component palette). I don't know whether you can somehow trigger a translation of your own tab from your design time package...

Regards,
Sven

Reply by email

Mattias Gaertner
to Sven Barth
Show quoted text 25 lines
Am 04.08.2012 19:45, schrieb Maxim Ganetsky: > 04.08.2012 20:35, Graeme Geldenhuys ?????: >> Hi, >> >> Can one translate the component palette tabs? I heard that German is >> the most up-to-date translation, and even so the words 'Standard', >> 'Additional', 'Common Controls' appear in the component palette when I >> switch the IDE to German language. >> >> Is this an oversight in the IDE resource string (not existing resource >> strings), or does the translated languages simply not bother with the >> component palette? > > It is not an oversight, it is more that a lot of such captions won't be > translated anyway, e.g. "SynEdit", "LazControls", "fpWeb", "SQLdb". > I think that it is better to keep palette not translated at all, than to > have a (hard to read and navigate) mix of languages. > For the sake of completeness (not that I'm suggesting this as a solution): Delphi translates all tabs of components that belong to the IDE (e.g. Standard, Dialogs, Additional etc.), but not those of 3rd Party components (e.g. I can see "Indy Misc" in my component palette). I don't know whether you can somehow trigger a translation of your own tab from your design time package...

We could add a Caption property to TBaseComponentPage. But then we need hints to easily find out the real name.

Mattias

Reply by email

Marco van de Voort
to Sven Barth: For the sake of completeness (not that I'm suggesting this as a solution): Delphi…
Sven Barth wrote 11 lines
> It is not an oversight, it is more that a lot of such captions won't be > translated anyway, e.g. "SynEdit", "LazControls", "fpWeb", "SQLdb". > I think that it is better to keep palette not translated at all, than to > have a (hard to read and navigate) mix of languages. For the sake of completeness (not that I'm suggesting this as a solution): Delphi translates all tabs of components that belong to the IDE (e.g. Standard, Dialogs, Additional etc.), but not those of 3rd Party components (e.g. I can see "Indy Misc" in my component palette). I don't know whether you can somehow trigger a translation of your own tab from your design time package...

My guess would be: those components don't provide translation dlls, probably because of work and to avoid complicating building too much.

Reply by email

Graeme Geldenhuys
to Sven Barth: For the sake of completeness (not that I'm suggesting this as a solution): Delphi…

Hi

Sven Barth wrote
translates all tabs of components that belong to the IDE (e.g. Standard, Dialogs, Additional etc.),

Not to confuse the subject, I wasn't referring to the components themselves, only the main tab captions... ie: 'Standard', 'Additional', 'Sample' etc.

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net

Reply by email

Sven Barth
to Graeme Geldenhuys
Graeme Geldenhuys wrote 9 lines
Hi On 5 August 2012 09:33, Sven Barth wrote: > translates all tabs of components that belong to the IDE (e.g. Standard, > Dialogs, Additional etc.), Not to confuse the subject, I wasn't referring to the components themselves, only the main tab captions... ie: 'Standard', 'Additional', 'Sample' etc.

Which is exactly what Delphi does ;)

Regards,
Sven

Reply by email