Localization: Strange behaviour when combining Toolbar.add and Template

  •  01-15-2004, 3:15 AM

    Localization: Strange behaviour when combining Toolbar.add and Template

    I have implemented CuteEditor explicitly setting the .Culture property to Norwegian.

     

    Buttons are added to the toolbar in 3 stages,

    first using .toolbar.add method to add some standard buttons,

    then using .toolbar.add method to add custom buttons,

    then using .template method to add some more standard buttons.

     

    The buttons added using toolbar.add are always displayed with english tooltip.

    Buttons added using .Template are displayed using the correct language.

     

    If I omit the .Template method from my code, it defaults to "enableall", adding all available buttons, after my "toolbar.add" added buttons, to the toolbar.

     

    Regards,

    Thomas

View Complete Thread