This is a migrated thread and some comments may be shown as answers.

ToolTip text of HorizontalSplitter is not translated

2 Answers 83 Views
OutlookBar
This is a migrated thread and some comments may be shown as answers.
Rainer
Top achievements
Rank 1
Rainer asked on 29 Sep 2011, 11:55 AM

Hello,

the ToolTip text "Start dragging in order to change items' position" is not translated in german culture.

OutlookBar_style.xaml:

...
<ToolTipService.ToolTip>
    <TextBlock Text="Start dragging in order to change items' position"
           telerik:LocalizationManager.ResourceKey="OutlookBarHorizontalSplitter" />
</ToolTipService.ToolTip>
...


As workaround I tried to set the ToolTip-Text by setting the HorizontalSplitterStyle like this:

...
<UserControl.Resources>
    <Style x:Name="OutlookBarHorizontalSplitter" TargetType="Thumb">
        <Setter Property="ToolTip" Value="My localized Text"/>
    </Style>
</UserControl.Resources>
 
<Grid>
    <telerik:RadOutlookBar x:Name="MenuOutlookBar"
                   HorizontalSplitterStyle="{DynamicResource OutlookBarHorizontalSplitter}">
...

Unfortuately after this the whole Style of the HorizontalSplitter is lost and the Tooltip is still default.

Please let me know if there is a solution for this issue.

Regards
Rainer

2 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 04 Oct 2011, 09:36 AM
Hi Rainer,

 The localized strings in the RadOutlookBar are:
"OutlookBarHorizontalSplitter"
"OutlookBarVerticalResizer"
"OutlookBarConfigureButtons"
and you can create your own custom localization as shown in the attached example (It is an SL solution but the approach could be used in WPF too). Basically, it follow this documentation article. Please let us  know if you need assistance in converting this to WPF.

Kind regards,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Rainer
Top achievements
Rank 1
answered on 03 Nov 2011, 05:05 PM
Hello Petar,

thank you. Your solution works fine for me.

Regards
Rainer
Tags
OutlookBar
Asked by
Rainer
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Rainer
Top achievements
Rank 1
Share this question
or