Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have created two variations with labels 'en' and 'ar'. Inside my master-page I am using the following code:

<PublishingNavigation:PortalSiteMapDataSource SiteMapProvider="CurrentNavSiteMapProvider" ShowStartingNode="True" id="QuickLaunchSiteMap" StartFromCurrentNode="false" StartingNodeUrl="/en/PressReleases" runat="server" TreatStartingNodeAsCurrent="true" />

It is working find except the URL of the sub-site is hard-coded. I have tried to use "~language" but it is returning "en-us" instead of 'en' and thus not working for me.

One solution I though of was to use different master-page/page-layout for english and arabic site. Is there any other possibility?

Please do consider that I have to deploy my web-app in a sandbox environment.

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.