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

Forums / Developing with Sitefinity / Add Meta Description for current language?

Add Meta Description for current language?

2 posts, 1 answered
  1. Bruno Michels
    Bruno Michels avatar
    125 posts
    Registered:
    16 Apr 2010
    23 Jun 2010
    Link to this post
    How can I add a Meta Description tag accordingly to the current language?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    23 Jun 2010
    Link to this post
    Hello Bruno Michels,

    You could use a custom user control that will be dropped on your pages. In your control you can detect the current culture by using System.Threading.Thread.CurrentThread.CurrentUICulture;  and set the meta tag creating an instance of HtmlMeta class.

    Greetings,
    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
    Answered
2 posts, 1 answered