开发者

Provide HTML-attribute LANG in multilanguage sharepoint site

开发者 https://www.devze.com 2023-01-08 01:57 出处:网络
I have to create a master page for Sharepoint and include t开发者_如何转开发he correct HTML-attribute lang (html lang=\"en\" e.g.).

I have to create a master page for Sharepoint and include t开发者_如何转开发he correct HTML-attribute lang (html lang="en" e.g.). What is the best way to do this? Is there a resource like <%$Resources:wss, multipages_direction_dir_value %> used for html:dir? I don't want to create custom code for this.


Yes, you can use language resources for that. If I'm not mistaken, this is how the default SharePoint master pages are written


In 2010 you have <%$Resources:wss,language_value%>

But there isn't any similar resource in the previous versions

0

精彩评论

暂无评论...
验证码 换一张
取 消