Is it possible to localize menu item's in XAML?
I tried doing:
But to no avail.
What would be the best way to apply localization to the menu? (Preferably in XAML, as I don't particularly want to use LocalizationManager.GetString("cm_add") repeatedly in code)
I tried doing:
<telerikNavigation:RadContextMenu.ContextMenu> |
<telerikNavigation:RadContextMenu Opened="RadContextMenu_Opened" Name="cm_cashsale_item" |
ItemClick="cm_cashsale_item_ItemClick"> |
<telerikNavigation:RadContextMenu.Items> |
<telerikNavigation:RadMenuItem Header="Add" telerik:LocalizationManager.ResourceKey="cm_add"/> |
<telerikNavigation:RadMenuItem Header="Edit" telerik:LocalizationManager.ResourceKey="cm_edit"/> |
<telerikNavigation:RadMenuItem Header="Delete" telerik:LocalizationManager.ResourceKey="cm_delete"/> |
</telerikNavigation:RadContextMenu.Items> |
</telerikNavigation:RadContextMenu> |
</telerikNavigation:RadContextMenu.ContextMenu> |
What would be the best way to apply localization to the menu? (Preferably in XAML, as I don't particularly want to use LocalizationManager.GetString("cm_add") repeatedly in code)