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

Forums / General Discussions / localization

localization

6 posts, 0 answered
  1. Gaurav
    Gaurav avatar
    38 posts
    Registered:
    30 Nov 2010
    07 Feb 2011
    Link to this post
    Hi there

    I am using Sitefinity  3.7 and would like to localize my site. I want to Export the pages in xml files and by changing the content i want to localize the site
    Could you please let me know what the correct procedure for me is to
    export my pages as XML for localization and to be able to import those
    localized versions back into sitefinity 3.7

    Thanks,
    Gaurav
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    07 Feb 2011
    Link to this post
    Hello Gaurav,

    The pages are dynamically create and the actual content is represented by user and custom controls. You can use ASP.NET local resources or embedded resources in case you have custom controls. Sitefinity 3.x Standard Edition supports Localization that you should enable per provider by using allowLocalization web.config attribute. You can gather more information at our User Manual

    Kind regards,
    Ivan Dimitrov
    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
  3. Gaurav
    Gaurav avatar
    38 posts
    Registered:
    30 Nov 2010
    14 Mar 2011
    Link to this post
    Hi Ivan

    I want to import my Generic Content to XML file
    I can do it by using  Content Manager class
    Now I have altered the Content In another Language .
    Now I want to create a new language version for a given content item by using the API
    Can you please guide me how can I create the New language version for a given content

    Thanks,
    Gaurav
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    14 Mar 2011
    Link to this post
    Hello Gaurav,

    You need to set the CurrentUICulture and then create the content item

    Regards,
    Ivan Dimitrov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  5. Gaurav
    Gaurav avatar
    38 posts
    Registered:
    30 Nov 2010
    14 Mar 2011
    Link to this post

    Ivan, thank you for looking into this. Can you please explain to me in layman's terms what the process and which API is to use to create the New language version .

    Thanks,
    Gaurav
  6. Gaurav
    Gaurav avatar
    38 posts
    Registered:
    30 Nov 2010
    14 Mar 2011
    Link to this post
     
    Hi Ivan

    By using following code I am only able to get the Default Content that is the English version of content .
    I have also created the Spanish version of  the Pages but the following code do not return those Spanish Content .
    Can you Please Guide me how could I get other version of Content .
    ContentManager contentManager = new ContentManager();
             
                IList listOfContentItems = contentManager.GetContent();
                if (listOfContentItems.Count > 0)
                {
                    foreach (Telerik.Cms.Engine.IContent contentItem in listOfContentItems)
                    {
                    }
                }
Register for webinar
6 posts, 0 answered