To localize content items, you set the required culture by passing it as a parameter to the Lstring properties of the item. The following code example demonstrates how to localize a News item.
NOTE: The ID argument is assigned to the master version of the News item. For more information about the different version of a content item, see For developers: Content lifecycle.
In the example below, you perform the following:
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important