Setting italian culture on Upload

6 posts, 0 answers
  1. Achilles
    Achilles avatar
    57 posts
    Member since:
    Jan 2013

    Posted 11 Feb 2014 Link to this post

    Hi,

    I use a Kendo File upload function in my project, which supports a finite set of languages.
    The text on the button was getting set according to the culture we were supporting till recent.

    Recently we added Italian to our portal.
    What we notice is that the text on the button remains in English as "Select files ..."

    <script src="@Url.Content("http://cdn.kendostatic.com/2013.3.1324/js/cultures/kendo.culture." + culture + ".min.js")"></script>
    <script>
        kendo.culture("@culture");
    </script>
     
    @Html.Kendo().Upload().Name("attachments").Events(events => events.Select("OnUploadSelect"))

    How can I get around this issue ?

    Also, I notice the same problem in grids where the text in the bottom is like "1-15 of 100 items", instead of the Italian equivalent. Is it a common issue or should I raise another discussion thread under the grids' category ?

    Thanks &
    Regards

    Achilles

  2. Petur Subev
    Admin
    Petur Subev avatar
    1882 posts

    Posted 13 Feb 2014 Link to this post

    Hello Raja,

    Basically each localization that we have is provided by our community, in case you want to change the current localization messages or add new ones for different culture then you should edit the resource file of the source code and build your own assembly against the changes.

    The steps are covered in details in the following topic of the documentation:

    http://docs.telerik.com/kendo-ui/getting-started/using-kendo-with/aspnet-mvc/globalization#localized-user-interface

    The process remains the same of each of the widgets.

    Kind Regards,
    Petur Subev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Achilles
    Achilles avatar
    57 posts
    Member since:
    Jan 2013

    Posted 13 Feb 2014 in reply to Petur Subev Link to this post

    Hello Petur,
    We use your CDN as
    <script src="@Url.Content("http://cdn.kendostatic.com/2013.3.1324/js/cultures/kendo.culture." + culture + ".min.js")"></script>
    So we have to make an exception for Italian by using resources locally.

    You have mentioned about a community. Is it possible that we take your English resources as a reference, get it translated by an Italian developer (Coincidentally, I have an Italian colleague) and Telerik integrates it in a future release ?

    Kind Regards
    Achilles
  5. Petur Subev
    Admin
    Petur Subev avatar
    1882 posts

    Posted 17 Feb 2014 Link to this post

    Hello Raja,

    Of course, if you give us the translation messages for a different culture that we do not have, we will be glad to publish them and make them available for all our customers. 

    Kind Regards,
    Petur Subev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  6. Achilles
    Achilles avatar
    57 posts
    Member since:
    Jan 2013

    Posted 18 Feb 2014 in reply to Petur Subev Link to this post

    Hello Petur,

    Please find attached the Italian translations of the messages.
    Will appreciate it if you allow me to test the new dll, even if it's a beta version on top of the latest official built.

    Kind Regards

    Achilles
  7. Petur Subev
    Admin
    Petur Subev avatar
    1882 posts

    Posted 20 Feb 2014 Link to this post

    Hello Achilles,

    Thank you for sending the messages. The changes  should be available in the upcoming build. 

    As a small sign of our appreciation I updated your telerik points.

    Kind Regards,
    Petur Subev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top
Kendo UI is VS 2017 Ready