Reputation: 1976
I need move "Hoy"
and "Cancelar"
strings to Resources
file for translation purposes
(I want to provide per user custom translations of Telerik controls, not build ones.)
Part of Default.skin
file:
....
<telerik:RadDatePicker runat="server" >
<Calendar>
<FastNavigationSettings TodayButtonCaption="Hoy"
CancelButtonCaption="Cancelar">
</FastNavigationSettings>
</Calendar>
....
Is there any possibilty to achieve that?
Upvotes: 0
Views: 1000
Reputation: 1414
You can't localize text in .skin file. A similar question has been asked here.
However, maybe you can achieve what you want by importing RadDatePicker
resx
file in the App_GlobalResouce
folder of your project. It works for the RadGrid and some other controls.
Upvotes: 1
Reputation: 15861
You can check this example, as it supports localization. There are many demo samples in their site.
Localization of telerik rad datepicker
Upvotes: 0
Reputation: 44605
No you should not do this the way you said. Telerik controls fully support localization and globalization so probably you should just set thread culture and UICulture and everything would work with no manual replacements of strings from your side.
Upvotes: 0