Culture not working, file size on type

2 posts, 0 answers
  1. Tayger
    Tayger avatar
    191 posts
    Member since:
    Jan 2015

    Posted 11 Apr 2017 Link to this post

    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

     

     

     

     

  2. Tayger
    Tayger avatar
    191 posts
    Member since:
    Jan 2015

    Posted 11 Apr 2017 Link to this post

    Sorry, double entry, can be deleted
Back to Top