Controls localisation

5 posts, 1 answers
  1. JC
    JC avatar
    35 posts
    Member since:
    Sep 2010

    Posted 08 Sep 2010 Link to this post

    Hello,

    I trie to localized the RadGridView in my application :
    - I write <SupportedCultures>fr;en;</SupportedCultures> in the csproj 
    - I set CurrentCulture & CurrentUICulture to "Fr-fr" in the constructor of App.xaml
    - I put manualy the "Telerik.Windows.Controls.resources.dll" assembly from Binaries\Silverlight\fr sdk folder to the "fr" folder of my xap package (i don't know how do this automaticaly)
    - I event tried to add Deployment.Part in the AppManifest.xml

    But FilterWindow of the grid still in english ... what's wrong ?
    Have you a tutorial to do this ? I don't find the procedure it in http://www.telerik.com/help/silverlight/common-localization.html !

    Thanks in advance
    JC
  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 09 Sep 2010 Link to this post

    Hello JC,

    This help topic should be of help:
    Setting default startup language

    Regards,
    Veselin Vasilev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. JC
    JC avatar
    35 posts
    Member since:
    Sep 2010

    Posted 09 Sep 2010 Link to this post

    Thank you for the quickly response !

    I've got another test with you method, and I juste realized that the difference in my project is I use binary reference instead of GAC reference for the telerik SDK

    Extract of my csproj :

    <Reference Include="Telerik.Windows.Controls.GridView">
      <HintPath>..\..\Framework\ThirdParty\SL\Telerik\2010-Q2-SP1\Telerik.Windows.Controls.GridView.dll</HintPath>
    </Reference>

    So, do you now if I can translate my application with this method ?

    Thanks
    JC
  4. Answer
    Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 09 Sep 2010 Link to this post

    Hi JC,

    Actually it is not necessary to have the assemblies in the GAC. Just copy the respective es/ folder (which contains the Spanish resources) where your dll files are.
    I have attached a sample project.


    Greetings,
    Veselin Vasilev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. JC
    JC avatar
    35 posts
    Member since:
    Sep 2010

    Posted 09 Sep 2010 Link to this post

    Cool this exemple !

    I found the problem
    1- I Had misplaced the "fr" folder (I tried in project instead of thrird party folder ...)
    2- The version of resources assembly mismatch with sdk assembly (2010Q2 & SP1 !!)

    thank you again a lot for your help !
    Bye
    JC

Back to Top