Culture pt-BR

3 posts, 1 answers
  1. cayo fontana
    cayo fontana avatar
    9 posts
    Member since:
    Mar 2010

    Posted 16 Aug 2011 Link to this post

    Hi there,

    I'm using RadScheduler, and other RadControls, on development in the my WPF software. However, i encountered some problems:
    I try change CultureInfo for pt-BR and the properties on RadScheduler don't change languages. But when i changed for "en" or "it", the properties is changed with sucessfully.

    Can you help me?

    Thanks. Sorry for bad english.
  2. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 18 Aug 2011 Link to this post

    Hello Cayo Fontana,

    Yes, you are right, the English and the Italian translations are provided with the installation of the RadControls. Unfortunately we do not provide localization support for "pt-BR" at the moment. Nevertheless you can easily modify our localization mechanism to provide pt-BR   translations.

      You will need to add a Custom Localization Manager adding your preferred translations, like so:

    public class CustomLocalizationManager : LocalizationManager
    {
       public override string GetStringOverride( string key )
       {
           switch( key )
           {
               case "Timeline":
                   return "Your translation";
    ...
           }
           return base.GetStringOverride( key );
       }
    }

    You may reference the explanations and the list of all resource keys here

    Greetings,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  3. cayo fontana
    cayo fontana avatar
    9 posts
    Member since:
    Mar 2010

    Posted 19 Aug 2011 Link to this post

    Great Didie! This works fine! Thanks!
Back to Top