Wie have recognized some problems with globalization.
We are using Kendo COmplete ASP.NET MVC.
Culture de-DE ist working fine, but when browser culture ist de-AT or de-CH texts in scheudler or grid are in english default language.
e.g. in scheduler:
right upper buttons in de-DE: "Tag" "Woche" "Monat" as expected.
right upper buttons in de-AT or de-CH: "Day" "Week" "Month"
or in grid view: right left bottom corner: in de-DE: "Elemente" as expected, but in de-AT or de-CH "items"
How can I fix this?
regards
O.
6 Answers, 1 is accepted
There are no "de-AT" and "de-CH" satellite assemblies included with the distribution and so the default messages will be used. You should use the approach described here in order to create the assemblies needed to localize the messages for the corresponding cultures.
Regards,
Daniel
Telerik
Hi,
Sorry that I write to a old thread but it is still an anoying issue for Swiss and Austrian developers...
If Telerik would rename the resource files from "Messages.de-DE.resx" to "Messages.de.resx" all will be happy!
The resurce lookup fallback logic first searches for a common language resource file (de) without the culture suffix (CH) before it falls back to the English default resouces.
By the way: this would be a non-breaking change!
BR, Linus
Thank you for the suggestion. We will further consider it and if it is appropriate, we will do it in some of our future releases.
As a side note, would it be possible to send us a satellite assembly for the "de-CH"/"de-AT" cultures? Thus we will enlarge our localization resources and also fix the issue in the most appropriate way.
Best regards,
Georgi Krustev
Telerik
I have the same problem, have things changed since this post?
My problem is, that de-CH works as it should but not in string resources. (Grid Save, Cancel and so on...)
If there where a fallback to de-DE everything would be ok because string resources are all the same
for de-CH, de-AT and de-DE. It's only the Datetime and Numberstring Formats that change.
But it falls back to en, and that is a problem.
I made a copy from my bin\de-DE to de-CH but unfortunately that is not working
Hi Marcel
Did you ever try to add the resource in source code and compile Kendo library by yourself?
I will attach a batch file for compiling and creating a NuGet-package and swiss resources de-CH (2016.3.1028) to this answer.
Conditions:
- The batch must reach a new Version of nugget.exe in the Folder C:\Tools and has to be in the folder with the solution file Kendo.Mvc.sln.
- The resource file must be copied in the folder ...\Kendo.Mvc\Kendo.Mvc\Resources and be added to the project.
- Kendo.Mvc.nuspec is needed to force nuget to copy the satellite dll of the swiss resource in the package. Place that file in the folder with the .csproj file (Kendo.Mvc\Kendo.Mvc).
I hope it helps....
Regards, Linus