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

"File type not allowed" - no localization

3 Answers 176 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Heiko
Top achievements
Rank 1
Veteran
Heiko asked on 30 Nov 2017, 09:46 AM

When using the validation configuration of Upload component and the user chooses a file that is not in the "AllowedExtensions" array, a short error message appears inside the upload component. While everything else is translated into German, this message is still in English. How can I provide a German translation to this?

 

 

3 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Danchev
Telerik team
answered on 04 Dec 2017, 08:03 AM
Hello Heiko,

This message can be customized through the localization.invalidFileExtension configuration option. For the Upload's MVC wrapper it can be set like this:
.Messages(m => m.InvalidFileExtension("My Custom Invalid File Extension Message"))


Regards,
Ivan Danchev
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Heiko
Top achievements
Rank 1
Veteran
answered on 07 Dec 2017, 09:04 AM

Hello Ivan,

that helped. But maybe you can explain why this message is not localized while many others are.

Regards
Heiko

0
Ivan Danchev
Telerik team
answered on 11 Dec 2017, 07:32 AM
Hello Heiko,

Only messages in English are officially supported. As mentioned in the documentation the localization of the Kendo UI widgets messages is community driven: "Currently, translations are not available for every language and some of the localization files may be incomplete. For more information on where to find the full list of available translations, refer to the section on contributing."

Regards,
Ivan Danchev
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Upload
Asked by
Heiko
Top achievements
Rank 1
Veteran
Answers by
Ivan Danchev
Telerik team
Heiko
Top achievements
Rank 1
Veteran
Share this question
or