The following tutorial demonstrates how to add a Language selector in your widget's designer. You use the Language selector to select different cultures, defined in your Sitefinity CMS application.
For more information on the scripts that you must load, see List of selectors scripts reference.
NOTE: You must use the sf-site attribute with the Language selector.
To load the culture for a specific site, you use the sf-site attribute. You can use the optional attribute sf-culture to access the selected culture. The value of these attributes are scope properties -sfCulture and sfSite - that you must add in your widget's controller:
NOTE: If you do not supply an sfSite attribute value, the Language selector is not rendered .
You can combine The Language selector to work alongside the Site selector to display the selected site's available cultures.
The sf-site attribute has the following structure of the JSON properties:
The sf-culture attribute has the following structure of the JSON properties:
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important
Copyright © 2022 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.
Powered by Progress Sitefinity