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

Culture not working, file size on type

1 Answer 25 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Tayger
Top achievements
Rank 1
Iron
Tayger asked on 11 Apr 2017, 07:16 PM

Hello 

I'm pretty new to KendoUI Upload. I made some examples that are working fine. I have an issue on used language around file upload: The Button text is set to "Select file..." and any process is set to English ("done", etc.). I have set the culture to a different language than English:

<script src="telerik/js/cultures/kendo.culture.de-CH.min.js"></script>
...
kendo.culture("de-CH")
...

 

Shouldn't the text around the file uploaded not switch to it? I would expect German text based on this settings. 

And further more a question: Is it possible to use ONE file uploader for all allowed file types but with different file size definitions? Something like this:

validation: {
allowedExtensions: ['.gif', '.jpg', '.png', '.mp3', '.mp4']
}

and then to differ those for maxFileSize within the ONE file uploader:
.gif, .jpg, .png: max 1MB
.mp3 : max 5MB
.mp4: max 20MB

Regards

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Tayger
Top achievements
Rank 1
Iron
answered on 11 Apr 2017, 07:37 PM
Sorry, double entry, can be deleted
Tags
Upload
Asked by
Tayger
Top achievements
Rank 1
Iron
Answers by
Tayger
Top achievements
Rank 1
Iron
Share this question
or