+1-888-365-2779
Try Now
More in this section

Forums / Designing with Sitefinity / Localization in Polls

Localization in Polls

4 posts, 1 answered
  1. Kostadinka
    Kostadinka avatar
    16 posts
    Registered:
    27 Jul 2010
    30 Jul 2010
    Link to this post
    Hi :)

    I'd like to know if there is a way to localize a poll in Sitefinity 3.7 - I mean one poll with many translations on different languages.

    The second question is how to localize the PollBox control? I use the standard control and I see some properties for text, but I can't find the way to change the text of the Results link.

    Thanks in advance :)
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    30 Jul 2010
    Link to this post
    Hello Kostadinka,

    Thank you for using our services.

    Unfortunately the Polls module does not support localization - you have to create different polls for every language and on each language's page use different poll. You can translate the control by getting its external templates, and mapping them. Then you should provide localized resources as described in this article: Enabling localization and globalization in Sitefinity. The control templates for the polls module are in ~/Sitefinity/ControlTemplates/Polls/. And the localizable resource files are in ~/Sitefinity/ControlTemplates/Polls/App_LocalResoureces.

    All the best,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
  3. Pat
    Pat avatar
    20 posts
    Registered:
    18 Feb 2003
    14 Oct 2010
    Link to this post
    Hi Radoslav,
    is it possible to extend the sql tables with new colums and change the controls to localize polls?

    Regards,

    Patrick
  4. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    15 Oct 2010
    Link to this post
    Hello Patrick Brill,

    You would have to create a module which inherits from polls, and create a custom data provider to achieve this. You can find tutorial on how to create custom modules here: Sample pluggable module: Contacts pluggable module.

    All the best,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
4 posts, 1 answered