More in this section
Forums / Developing with Sitefinity / Best way to add localized, instance-specific user control properties

Best way to add localized, instance-specific user control properties

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Mikael Kleinwort
    Mikael Kleinwort avatar
    78 posts
    Registered:
    17 May 2004
    01 Apr 2017
    Link to this post

    For my user control, I created a custom resource class for all those strings which need localization but which are the same for all instances of the control.

    However, there are some instance-specific properties of the control which also need localization.

    I remember the "MultilingualProperty" attribute for control properties. This allowed automatic language-specific control properties,  but this attribute is depreciated and has no effect in 9.2.

    I have my pages synchronized between languages. I like to keep it this way. I would like to be able to close the control's settings dialog with "save to all languages" (so all language-agnostic properties are in sync), yet have some language-specific properties.

    Is there a recommended way of achieving this?

    Regards, Mikael

     

     

     

1 posts, 0 answered