Hi,
I'm trying to place some "hard-coded" links on a masterpage in a multi-language sharepoint environment. The masterpage should be used for different SiteCollections everywhere in the hierarchy, not only root-sites. The links are used for sitemap, contact, downloads etc.
Example:
English -> http://myserver/somesitecollection/en-US/someweb/Pages/sitemap.aspx
German -> http://myserver/somesitecollection/de-CH/someweb/Seiten/sitemap.aspx
How can i generelly build the link in my masterpage? I played around with the SPLinkButton-Control. My biggest problem is the "Pages"-directory. I tried with resources:
<SharePoint:SPLinkButton
NavigateUrl="<%$SPUrl:~SiteCollection/~language/%><% $Resources:MyOwnResources, sitemap_link %>"
Text="<%$Resources:By1eEuropeResources, sitemap %>"
runat="server" />
where the string Pages/sitemap.aspx can be found under sitemap_link in my res-File.It seems,l that SPUrl and Resources can't be mixed in the same property of a control.
The render result is an empty href-Property.
Is there another way to realize that without 2 masterpages for 2 different panguages.
Thanx in advance
Nicolas