Hello,
I have an issue with TelerikDatePicker globalization. It works fine at all, but "Today" has the same translation.
I've used code like this:
CultureInfo.DefaultThreadCurrentCulture = new CultureInfo(MyStringLanguage);And it still works only for "days" and "months". Could you please tell about current situation about localization and globalization or maybe to suggest some different solution.
Thanks for your help.
Emerson - make sure you have up-to-date resource (resx) files for our components that contain all localization keys.
Our DatePicker Globalization demo works as expected.
Regards,
Dimo
Progress Telerik
I'm using Telerik Blazor 4.4.0 and this issue still occurs in my app. I'm tryng configure culture in two ways:
First way:
In program.cs
var supportedCultures = new[] { "pt-PT", "en-US" };
var localizationOptions = new RequestLocalizationOptions()
.AddSupportedCultures(supportedCultures)
.AddSupportedUICultures(supportedCultures)
.SetDefaultCulture(supportedCultures[0]);
localizationOptions.RequestCultureProviders = new List<IRequestCultureProvider> {
new QueryStringRequestCultureProvider()
};
Second way:
I tryed this in program.cs and component code-behind
CultureInfo.DefaultThreadCurrentCulture = new CultureInfo(MyStringLanguage);
This was implemented with the 2.5.0 release that is now live and you can see it in action in the demos: https://demos.telerik.com/blazor-ui/datetimepicker/globalization
Regards,
Marin Bratanov
Progress Telerik
Hello Szczepan,
We haven't gotten to tackling this yet. It is coming up pretty soon on our roadmap, and it is planned to be handled before R1 2020. I can suggest you monitor our release notes, we also have an RSS feed for them. Additionally, you can click the Follow button at the top of this feedback portal page to get email notifications for status changes on this particular feature.
Regards,
Marin Bratanov
Progress Telerik
Hi Oleg,
I moved this thread to the public feedback portal so you can Follow its progress. Here's a link for you so you can get to it from your email notification: https://feedback.telerik.com/blazor/1432646-globalization-for-today-and-now-buttons-on-the-date-time-pickers.
At this point localization and globalization are things we have in mind, and we will be working actively further down the road. Our immediate plans are to provide more components and more features before we get to them. Some things would work because we obtain them from the framework, but we have not implemented everything.
Regards,
Marin Bratanov
Progress Telerik