Forums

Forums / Developing Portals / Localized label for form fields

Localized label for form fields

Thread is closed for posting
2 posts, 1 answered
  1. julien.biedermann
    julien.biedermann avatar
    17 posts
    Registered:
    16 Jun 2016
    16 Jun 2016
    Link to this post
    Hello,

    Is it possible to use label from resources in title of TPC widget fields (textfield, lookup, ...) ?

    If not, a solution is to create custom fields that inherit from TPC fields. The problem is that some of them are sealed (e.g. lookup, Boolean) but not Text Field or Picklist. Why ?

    Thank you for your help
  2. Clinton Bale
    Clinton Bale avatar
    126 posts
    Registered:
    21 Feb 2014
    Answered
    21 Jun 2016 in reply to julien.biedermann
    Link to this post
    Hello Julien,

    This is only possible if you modify the template of the widget itself to include the resource text. This however will change the label for each type of field.

    If you are looking for multilingual translations of fields, The Portal Connector supports this out of the box. Enable multilingual on CRM, install the desired language pack. Then enable multilingual on Sitefinity and match the language code to the CRM language code. From there all you would have to do is republish the metadata and labels will be translated based on the current pages language.

    Our classes are sealed automatically on build. I will look into exposing more of these for developers in upcoming builds.

    Regards,
    Clinton
2 posts, 1 answered