Answered Localizing choice values for a Field definition

  • Friday, April 13, 2012 9:19 AM
     
     

    Hello,

    According to the MSDN page (http://msdn.microsoft.com/en-us/library/ms439235.aspx) you cannot localize CHOICE VALUES declaratively.

    The value can be a reference to a resource in the format $Resources:String. However, choice values are not supported by the multilingual user interface (MUI). Choice values are initialized in the default language of the web site and do not change when a user switches to an alternate language supported by the site.

    how can i achieve this programmatically? When i user changes the language, the choice values for a field should change the language, regardless where they are displayed (ListViews, Items Edit etc).

    Greetings, Jörg

All Replies

  • Friday, April 13, 2012 9:38 AM
     
     Answered
    Instead of choice, you can use the term store and specify the term values in each languages. I think a term store containing the terms would be an option.

    Regards, Dharnendra Shah "strong belief is the only way to success"

    • Marked As Answer by spille Friday, April 20, 2012 4:49 AM
    •  
  • Monday, April 16, 2012 9:21 AM
     
     Answered

    Hi,

    As Dharnendra Shah said, you can try to use metadata column to achieve this. The managed metadata features in Microsoft SharePoint Server 2010 allow you to define and use managed metadata in multiple languages. For a term, you can specify a label in another language, so that the term would change to corresponding label when user alter display language.

    Please check this article for how to implement this:

    http://office.microsoft.com/en-us/sharepoint-server-help/work-with-multi-lingual-term-sets-HA101631585.aspx#_Toc268772434

    Thanks


    Pengyu Zhao

    TechNet Community Support

    • Marked As Answer by spille Friday, April 20, 2012 4:49 AM
    •  
  • Friday, April 20, 2012 4:52 AM
     
     

    Thanks for your answer. The Termstore is great but the GUI to select values is too complicated if you just want to choose something from a list. But someone has tried to use the termstore for an own field control which the appearance of the normal choices control.

    http://todd-carter.com/post/2010/12/06/With-Managed-Metadata-You-have-a-Choice.aspx