Hello,
is there a possibility to change the language for the parameter area on the webpage?
By default all settings are in english language.
But I want to set them in german language.
Is there a language file to load im my project or give it an easy way to change the language?
As you can see in the attached file the Datetime component is by default in english,
the names of the month and the names of the days.
5 Answers, 1 is accepted
Telerik Report Viewer uses Kendo UI widgets for its templates` components. To localize the widget itself you need to follow the steps from Kendo UI documentation: Localization Overview.
If you have any additional question related to the localization or the Telerik Report Viewer, do not hesitate to contact us.
Best Regards,
Veronika
Progress Telerik
Hi,
I want to change the language of the reportparameter Type Datetime(Datetimepicker or what else) from standard(english) to german.
I have copy and paste that code snippet from the mentioned page.
<
script
src
=
"https://code.jquery.com/jquery-3.3.1.min.js"
></
script
>
<
script
src
=
"http://kendo.cdn.telerik.com/2019.1.115/js/kendo.all.min.js"
></
script
>
<%--Reporting Fehlermeldungen , umgestellt auf deutsch--%>
<
script
src
=
"kendo.messages.de-DE.js"
></
script
>
But when I make a reload the report does not appear as usual.
I get a bar with symbols on the left side of my page, shown in the attached file.
What is going wrong?
It must give an easy way to change all the names of months and days from datetimepicker to another language.
I have change the culture property, but it has no influence to the language of the datetimepicker.
From your attachment, it seems to me that the kendo theme css files are missing in your project.
Please review your project and see if they are missing. For more information refer to our documentation article for Manual Setup
<
link
href
=
"http://kendo.cdn.telerik.com/2019.1.115/styles/kendo.common.min.css"
rel
=
"stylesheet"
/>
<
link
href
=
"http://kendo.cdn.telerik.com/2019.1.115/styles/kendo.blueopal.min.css"
rel
=
"stylesheet"
/>
If the css files are added, check for any errors in the project and in the browser console too.
Also, I noticed that you are using a local file resource for localization.
<script src=
"kendo.messages.de-DE.js"
></script>
If you could not find the root of the issue, please provide us more information about your project - css themes that you are using, scripts, libraries. Everything that will be in help. If you could send a demo project it will be better.
Best Regards,
Veronika
Progress Telerik
Hello Veronika,
the explanations are on this page:
https://docs.telerik.com/kendo-ui/framework/localization/overview
I have this file kendo.messages.de-DE.js from this page:
https://github.com/telerik/kendo-ui-core/tree/master/src/messages
But I think this file is not completed, so I implemented my code in this file in line 660 and 671.
It doesnt work.
The Datetimepicker doesn't change the language.
Or what is the <Widget-name>?
if (kendo.ui.dateTimePicker) {
kendo.ui.dateTimePicker.prototype.options.messages =
$.extend(true, kendo.ui.dateTimePicker.prototype.options.messages, {
"december": "Dezember",
"january": "Januar",
"wednesday": "Mittwoch",
"monday": "Montag",
});
}
/* StartTime */
if (kendo.ui.DateTimePicker) {
kendo.ui.DateTimePicker.prototype.options.messages =
$.extend(true, kendo.ui.DateTimePicker.prototype.options.messages, {
"December": "Dezember",
"January": "Januar",
"February": "Februar",
"March": "März",
"Monday": "Montag",
"Tuesday": "Dienstag",
"Wednesday": "Mittwoch",
"Thursday": "Donnerstag",
"Friday": "Freitag",
"Saturday": "Samstag",
"Sunday": "Sonntag",
});
}
I played a little bit with the widget, tried a lot of things but with no luck. I consulted with kendo team for further advice. It seems that the kendoDatePicker sets its month, day names not from localization messages, but from its culture. It is not very clear in their localization article, so I asked them to update it.
I made a demo for you, where the widget is localized. I hope it will help you.
Best Regards,
Veronika
Progress Telerik