Web.sitemap localization

M

Mikeon

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?
 
L

luciano.marchese

Hey Herry, I'm having the same problem.. what is exactly
developsitemap?
Thanks
Luciano
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top