GridView item localization

4 posts, 1 answers
  1. Michael
    Michael avatar
    35 posts
    Member since:
    Jan 2012

    Posted 30 Jun 2014 Link to this post

    Hy!

    I have a question about the localization of the GridView.

    I have a sample project for testing the build-in localization of telerik controls.
    The text of the GridView is localized correctly but the values of the items are not shown in the correct language format. (Number / DateTime)
    This is shown in the picture below (see localization_de_sl.png).
    In Telerik controls like RadNumericUpDown or RadDateTimePicker the format of the value is correct! (see localization_de_sl_correct.png)

    I have defined the SupportedCulture property in the project file. The Resource files (Telerik.Windows.Controls.resources.dll) are available in the folder where I save the telerik dlls and where i reference in my sample project.
    <SupportedCultures>en;de;es</SupportedCultures>
    I use the latest Telerik version: 2014.2.617.1050

    The sample project is a sample project from this thread:
    http://www.telerik.com/forums/built-in-localization-for-de
    The only thing i changed is that i remove the "Libs" folder from the project and reference directly to my telerik dlls.

    Thx Mike
  2. Michael
    Michael avatar
    35 posts
    Member since:
    Jan 2012

    Posted 30 Jun 2014 in reply to Michael Link to this post

    One more screenshot to see the difference!
  3. DevCraft banner
  4. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 01 Jul 2014 Link to this post

    Hi Mike,

    The formatting of RadGridView is language specific. In order to have the current culture settings respected, you should set the IsLocalizationLanguageRespected for the RadGridView to False. You can also check our online documentation for a further reference.

    Regards,
    Didie
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  5. Michael
    Michael avatar
    35 posts
    Member since:
    Jan 2012

    Posted 01 Jul 2014 in reply to Dimitrina Link to this post

    Hy Didie!

    Thx for teh reply!
    This do it for me!

    cheers
    Mike
Back to Top