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

Forums / Developing with Sitefinity / Selected Culture/Language

Selected Culture/Language

3 posts, 0 answered
  1. Den
    Den avatar
    3 posts
    Registered:
    07 Mar 2008
    24 Feb 2009
    Link to this post
    Hi all!

    I've created a project under Sitefinity and use localization there.
    I've added LanguageSelector control in my template.

    Can anybody tell me how can I get selected culture/language in my user controls?

    TIA        Den
  2. Den
    Den avatar
    3 posts
    Registered:
    07 Mar 2008
    25 Feb 2009
    Link to this post
    Ohhh....
    I've found the answer by myself.

    I just tryed to catch the selected culture in 

    Thread

    .CurrentThread.CurrentCulture

    not in 

     

    Thread

    .CurrentThread.CurrentUICulture

    :)

     

  3. Ivan
    Ivan avatar
    478 posts
    Registered:
    16 Jun 2015
    25 Feb 2009
    Link to this post
    Hello Den,

    we are glad you were able to find the solution. Let us know if there is anything else we can do for you.

    Kind regards,
    Ivan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
3 posts, 0 answered