How to display records based on users language specified using c# RRS feed

  • Question

  • Hi , i need to display contact records , based on users preferred language .

    can u please guide how to achieve this using c#. 

    * I need to achieve this using custom asp.net portal. 


    Wednesday, February 25, 2015 12:46 PM

All replies

  • Hi All  ,,,

    Any Updates ... !!!!!!!

    Thanks in Advance ... 

    Wednesday, February 25, 2015 5:14 PM
  • Hi All ,

    My Requirement is to display Record based on user specific language , Microsoft dynamics CRM records should be displayed based on user specify language. 

    can you please guide me how to achieve on this requirement.. 

    Thanks in Advance ...

    Wednesday, February 25, 2015 5:17 PM
  • What information do you want to display in a user-specified language ? The main information that is available in different languages are the labels of an OptionSet, and the DisplayName of the attributes.

    You can obtain the language-specific of both of these through the AttributeMetadata, form which you can get the respective Label class. From the Label class, you can use either:

    • UserLocalizedLabel - this will give the label in the language of the Crm user that calls (or is impersonated) the Crm web service
    • The LocalizedLabels collection. This has a label in each defined language

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Wednesday, February 25, 2015 7:54 PM