5 Answers, 1 is accepted
0
Hello Frederic,
In general, the localisations files are community driven and they are usually updated by the Kendo UI community:
http://docs.telerik.com/kendo-ui/framework/localization/overview#contribution
The messages can be added manually by using the en-US messages file which contains all of the needed messages:
http://docs.telerik.com/kendo-ui/framework/localization/overview#configuration-Create
I hope this will help to achieve the desired result.
Regards,
Stefan
Telerik by Progress
In general, the localisations files are community driven and they are usually updated by the Kendo UI community:
http://docs.telerik.com/kendo-ui/framework/localization/overview#contribution
The messages can be added manually by using the en-US messages file which contains all of the needed messages:
http://docs.telerik.com/kendo-ui/framework/localization/overview#configuration-Create
I hope this will help to achieve the desired result.
Regards,
Stefan
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data (charts) and form elements.
0
Morten
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 20 Aug 2018, 02:44 PM
Hi frederic
did you figure this out? Looking at the language files (https://github.com/telerik/kendo-ui-core/tree/master/src/messages) I don't see a handle for "no data found".
/Morten
0
Hello, Morten,
This is where the no data template is located and what is the key for that message:
https://github.com/telerik/kendo-ui-core/blob/master/src/messages/kendo.messages.en-US.js#L371
Let me know if you need more details on this matter.
Regards,
Stefan
Progress Telerik
This is where the no data template is located and what is the key for that message:
https://github.com/telerik/kendo-ui-core/blob/master/src/messages/kendo.messages.en-US.js#L371
Let me know if you need more details on this matter.
Regards,
Stefan
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Vladimir
Top achievements
Rank 1
answered on 07 Feb 2019, 11:50 AM
Hi Stefan,
Your link now contains the string: "pdf": "Export to PDF",
Can you provide a detailed example of what condition and what parameters need to be passed? For example:
if (kendo.ui.ComboBox) {
kendo.ui.Grid.prototype.options.messages =
$.extend(true, kendo.ui.Grid.prototype.options.messages,{
"noDataFound": "message"
});
Thanks! :)
0
Hi, Vladimir,
There seems to be some misunderstanding in this thread regarding the messages.
The Kendo UI Grid has a "noRecords" property which can be localized by extending the grid messages, alternatively, if you are a native speaker in the language that is missing a translation, you can let me know the details and I can add them so they will be available thereafter:
In case this is about the Kendo UI ComboBox - the widget does not use messages at the moment, but you may change the noDataTemplate as needed:
https://docs.telerik.com/kendo-ui/api/javascript/ui/combobox/configuration/nodatatemplate
Finally, I would imagine that in the case of multiple localizations, this may be a great feature to have - the ability to localize the dropdowns via messages. If you like, I can create a feature request on your behalf and allow others to vote for it.
Let me know what you think.
Kind Regards,
Alex Hajigeorgieva
Progress Telerik
There seems to be some misunderstanding in this thread regarding the messages.
The Kendo UI Grid has a "noRecords" property which can be localized by extending the grid messages, alternatively, if you are a native speaker in the language that is missing a translation, you can let me know the details and I can add them so they will be available thereafter:
if
(kendo.ui.Grid) {
kendo.ui.Grid.prototype.options.messages =
$.extend(
true
, kendo.ui.Grid.prototype.options.messages,{
"commands"
: {
"cancel"
:
"Cancel changes"
,
"canceledit"
:
"Cancel"
,
"create"
:
"Add new record"
,
"destroy"
:
"Delete"
,
"edit"
:
"Edit"
,
"excel"
:
"Export to Excel"
,
"pdf"
:
"Export to PDF"
,
"save"
:
"Save changes"
,
"select"
:
"Select"
,
"update"
:
"Update"
},
"editable"
: {
"cancelDelete"
:
"Cancel"
,
"confirmation"
:
"Are you sure you want to delete this record?"
,
"confirmDelete"
:
"Delete"
},
"noRecords"
:
"No records available."
,
"expandCollapseColumnHeader"
:
""
,
"groupHeader"
:
"Press ctrl + space to group"
,
"ungroupHeader"
:
"Press ctrl + space to ungroup"
});
}
In case this is about the Kendo UI ComboBox - the widget does not use messages at the moment, but you may change the noDataTemplate as needed:
https://docs.telerik.com/kendo-ui/api/javascript/ui/combobox/configuration/nodatatemplate
Finally, I would imagine that in the case of multiple localizations, this may be a great feature to have - the ability to localize the dropdowns via messages. If you like, I can create a feature request on your behalf and allow others to vote for it.
Let me know what you think.
Kind Regards,
Alex Hajigeorgieva
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.