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

de-AT and de-CH cultures not working

6 Answers 89 Views
Globalization
This is a migrated thread and some comments may be shown as answers.
Oliver
Top achievements
Rank 1
Oliver asked on 16 Jan 2014, 08:53 AM
Hi,

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

Sort by
0
Daniel
Telerik team
answered on 20 Jan 2014, 07:55 AM
Hello,

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
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Linus
Top achievements
Rank 1
answered on 30 Dec 2015, 02:47 PM

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

 


0
Georgi Krustev
Telerik team
answered on 04 Jan 2016, 10:27 AM
Hello 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
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Marcel Härry
Top achievements
Rank 1
answered on 27 Nov 2016, 02:33 PM

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

 

0
Linus
Top achievements
Rank 1
answered on 28 Nov 2016, 07:11 AM

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

0
Marcel Härry
Top achievements
Rank 1
answered on 29 Nov 2016, 08:43 AM
Works perfect, thank you.
Tags
Globalization
Asked by
Oliver
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Linus
Top achievements
Rank 1
Georgi Krustev
Telerik team
Marcel Härry
Top achievements
Rank 1
Share this question
or