Create translatable custom widgets

By default, the Translations module has one translatable widget - the Content block widget. You can add your own custom widgets to the Translations module.

To do this, perform the following:

  1. Create new custom widget and register it in toolbox 
    For more information, see Register a new widget in the backend.
  2. Click Administration » Settings » Advanced » Translations » Strategies.
  3. In the Create new dropdown box, select ControlTypeTranlsationsSettings.
  4. In ItemType input field, enter оne of the following:
    1. The fully qualified type name of the widget.
      For example, enter SitefinityWebApp.MyFolder.MyTranslatableCustomWidget, SitefinityWebApp
    2. The virtual URL of the widget.
      For example, enter ~/MyFolder/ MyTranslatableCustomWidget.ascx
  5. Click Save changes. 
  6. Configure which fields you want to translate, using procedure Translatable fields.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?