Hello!
I have tried to localize my Web.sitemap file using implicit
localization but it doesn't seem to work.
What I have done until now:
I have created a sample Web.sitemap file:
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0"
enableLocalization="true" >
<siteMapNode url="Default.aspx" title="Default" description=""
resourceKey="Default">
<siteMapNode url="Default2.aspx" title="Default2"
description="" resourceKey="Default2" />
</siteMapNode>
</siteMap>
and a Web.sitemap.resx under App_LocalResources.
In the Web.sitemap.resx I have:
...
<data name="Default.title" xml:space="preserve">
<value>my title 1</value>
</data>
<data name="Default2.title" xml:space="preserve">
<value>my title 2</value>
</data>
...
I have placed a tree view control on a page, and bound it to
sitemapdatasource control.
I have also added various combinations of Culture and UICulture
attributes to my page declaration i.e.:
Culture="auto:en-US" UICulture="auto:en-US"
Does anyone have a WORKING sample of a project with localizable
Web.sitemap file?
Michal TalagaI had similar problme. I tried developsitemap and had no problem.
Herry
I had similar problme. I tried developsitemap and had no problem.
Herry
I had similar problme. I tried developsitemap and had no problem.
Herry
Hey Herry, I'm having the same problem.. what is exactly
developsitemap?
Thanks
Luciano
herry wrote:
> I had similar problme. I tried developsitemap and had no problem.
> Herry
This is what you want:
http://msdn2.microsoft.com/en-us/library/ms178427(vs.80).aspx
- Jules
Thursday, March 22, 2012
Web.sitemap localization
Labels:
asp,
file,
helloi,
implicitlocalization,
localization,
localize,
net,
nowi,
sitemap,
web,
websitemap
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment