In the master page for a SharePoint site, a CSS file is referenced in the <head>
section as
<SharePoint:CssRegistration name="<% $SPUrl:~SiteCollection/Style Library/~language/Core Styles/style.css%>" runat="server"/>
my understanding is that the site will convert the dynamic token to the language of the site, such that if viewing in English, ~language
will be replaced with en-US
and if the site is in Chinese, it would be zh-CN
. What is happening is that the dynamic token is always exchanged with en-US
, and never shows zh-CN
.
<link rel="stylesheet" type="text/css" href="/Style%20Library/en-US/Core%20Styles/style.css"/>
I have ensured that the master page has both variations enabled....does anyone have any idea?