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

Forums / General Discussions / How to change default language without losing content

How to change default language without losing content

2 posts, 0 answered
  1. Ian
    Ian avatar
    75 posts
    Registered:
    25 Oct 2010
    06 Sep 2011
    Link to this post
    So we've accidentally built a site using the default "en" language with no culture attached, and we'd like to change it to "en-GB", however, this results in missing content on any page using the lists module and the appearance of the translations column in the backend.
    How can we go about making this change safely?
    Thanks
  2. Stanislav Velikov
    Stanislav Velikov avatar
    1113 posts
    Registered:
    18 Sep 2017
    08 Sep 2011
    Link to this post
    Hi Ryan,

    You can add this culture in App_Data/Sitefinity/Configuration/Resources.config
    <add culture="en-GB" uiCulture="en-GB" key="english (united kingdom)-en-gb" />
    <add culture="fr-FR" uiCulture="fr-FR" key="french (france)-fr-fr" />
    <add culture="es-ES" uiCulture="es-ES" key="spanish (spain, international sort)-es-es" />
    This is safe because you can save the original config file and later revert to it if you encounter problems.

    All the best,
    Stanislav Velikov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

2 posts, 0 answered