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.