Page 1 of 1

Nested Collections

Posted: Thu Apr 22, 2004 3:07 pm
by mad006us
How to translate nested collections, like the Captions of actionbar menus?

For example: ActionManager1.ActionBars[0].Items[0].Caption

Greetings,
mad

Posted: Fri Apr 23, 2004 6:50 am
by Haron
I'm not SILang expert, but it seems to be possible using ExtendedTranslations only.

Posted: Fri Apr 23, 2004 8:37 am
by mad006us
Haron wrote:I'm not SILang expert, but it seems to be possible using ExtendedTranslations only.
Ah, thank's a lot! I haven't noticed that the ExtendedTranslations have been greatly improved in the last version.

Btw 1: The workaround in the FAQ concerning the ActionManager (http://www.sicomponents.com/lng_faq.html#10) works, but it has two side effect:
1. Design time customization of menus won't work
2. Strange runtime behaviour when changing menu (you have to click twice)

So better don't use this way.

Btw 2: With ExtendedTranslations even translating the captions of DevExpress Treelist columns works, which isn't possible through normal captions (the default language captions always disappear from the caption translation editor)

Greetings,
mad