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

Forums / Developing with Sitefinity / Sitefinity :: Display site in local language

Sitefinity :: Display site in local language

4 posts, 0 answered
  1. Rajkumar GS
    Rajkumar GS avatar
    24 posts
    Registered:
    07 Sep 2009
    13 Oct 2011
    Link to this post
    Dear Sitefinity,

    I would like to clarify one doubt regarding Sitefinity 3.7.

    Question is regarding Localization - We have a website which is developed using Sitefinity 3.7; Now it is available in English language only. We are planning to make this site available in different languages, which includes Chinese and Thai.

    We have watched one of your video tutorial regarding Localization - http://www.sitefinitywatch.com/blog/09-09-10/Multi-Language_amp_Localization_Support_in_Sitefinity_Webinar.aspx . Thanks for this excellent tutorial!

    Could you please clarify -
     1. For eg: If the site accessed from China, by default how to configure Sitefinity to identify the location and automatically display the Chinese version of the website. ?
    2. When client opens the site in a computer that is not having Chinese font, does the site display Chinese properly ?
    When we checked Google Translate ( http://translate.google.co.in/?hl=en&tab=wT#auto|zh-TW|Hi!%20How%20are%20you%20%3F ), Chinese font is not displaying properly. First site is asking to install Font
    "To display language characters correctly you need to install the following language pack:
    Chinese Traditional"
    Is this installation required in Sitefinity as well ?

    I highly appreciates your assistance.

    Regards
    Rajkumar
  2. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    17 Oct 2011
    Link to this post
    Hi Rajkumar Gs,

    The Chinese font is per user, per browser setting. Every user will have to install his/her own Chinese fonts in order to see Chinese content. It is this way for any site, not just the ones created by Sitefinity. Also, when you install the Chinese font it will probably work in all browsers on the client's machine, but still there are browsers that might work other way.

    As for your first question - unfortunately I don't think there is a way out of the box. The site might be accessed from China, but with English browser and English regional settings. You could try setting the following element in the web.config

    <globalization culture="auto" uiCulture="auto"/>

    Greetings,
    Lubomir Velkov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Rajkumar GS
    Rajkumar GS avatar
    24 posts
    Registered:
    07 Sep 2009
    18 Oct 2011
    Link to this post
    Thanks Lubomir for your help.

    Question #1 - We will try your suggestion, when we get an environment in any other location.
    We asked this question because, one of the client requirement is that they want to see the website loading in local language based on location. I think, they are asking for something like what google is doing. In India (our location), if we go for www.google.com, automatically it redirects to www.google.co.in
    Could you please give me some clue about show this works - please ?

    Question #2 - Is Clear. Thanks

    Regards
    Rajkumar
  4. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    18 Oct 2011
    Link to this post
    Hello Rajkumar,

    I believe Google are using some sort of Geolocation database - it maps an IP address to a country - 

    http://www.ip2location.com/

    http://ip-to-country.webhosting.info/

    So when a user enters your site, you get his/her IP address and find what country he's accessing it from. Also, it is possible to use the HTTP Accept-Language header the browser sends to the client

    http://blogs.msdn.com/b/ie/archive/2006/10/17/accept-language-header-for-internet-explorer-7.aspx

    Best wishes,
    Lubomir Velkov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
4 posts, 0 answered