6

Is there a way to get Choice Fields choices in alternative language?

I have a web site that is in Swedish and alternative language English. I'm using resource files. The field name is translated correctly but the choices aren't.

If I create a web site where the web language is in English the choices are in English.

<Field
      ID="{21FC2221-82DB-410E-85A8-9F3B19E63819}"
      Name="InternalName"
      DisplayName="$Resources:R,Field_x_DisplayName"
      Description="$Resources:R,Field_x_Description"
      Type="Choice"
      Required="FALSE"
      Group="$Resources:R,FieldGroup_x_Name">
<CHOICES>
  <CHOICE>$Resources:R,Field_x_Choice_a</CHOICE>
  <CHOICE>$Resources:R,Field_x_Choice_b</CHOICE>
  <CHOICE>$Resources:R,Field_x_Choice_c</CHOICE>
</CHOICES>

1 Answer 1

6

From microsoft:

Optional Text. Specifies the display text for the choice.

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.