I’ve been playing around with SharePoint 2010 beta master pages and I found a neat little control that has been introduced in the new version.  The LanguageSpecificContent [1] control basically allows you to wrap content and specify the locales/languages you want the content to appear for.  You basically just specify the number code for the language you want it to appear for and wrap your language specific content  in the <contenttemplate></contenttemplate> tags.  Microsoft uses it for their give feedback link in the beta within the OOTB SharePoint 2010 beta masterpages:

<SharePoint:LanguageSpecificContent runat="server" Languages="1033">
    <ContentTemplate>

<a style=”float:left;margin:8px;” href=”http://go.microsoft.com/fwlink/?LinkID=127131″ target=”_blank”> <img

src
=”/_layouts/images/givefeedback.png” style=”border:0px;vertical-align:middle;” alt=”Give Feedback” />

        </a>
    </ContentTemplate>
</SharePoint:LanguageSpecificContent>

Leave a Reply

Your email address will not be published. Required fields are marked *