By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,403 Members | 1,577 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,403 IT Pros & Developers. It's quick & easy.

Site map localisation (.net 2.0)

P: n/a
In my web.config file, I have the following:
<globalization culture="auto:en-gb" uiCulture="auto:en-gb"/>

In my Web.sitemap file, I have the following

<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0"
enableLocalization="true">
<siteMapNode url="Default.asp" resourceKey="Administration">

<siteMapNode url="Accounts_Users.aspx" resourceKey="AccountsUsers" />

</siteMapNode>

</siteMap>

I have several resource files called "Web.sitemap.resx" or
"Web.sitemap.en-gb.resx" etc that contain the following:
<data name="AccountsUsers.title" xml:space="preserve">

<value>Accounts and users</value>

</data>

<data name="Administration.title" xml:space="preserve">

<value>Administration</value>

</data>

However, when I look at this using the default resource file viewer, it
gives me a red exclamation mark saying that the "name" value is not a valid
identifier (I actually entered it using the default viewer rather than the
XML viewer.)

What I have done appears to agree with MSDN
(http://msdn2.microsoft.com/en-us/lib...27(VS.80).aspx) and my Wrox
book "Professional ASP 2.0".

So, any ideas where I've messed up?

Thanks in advance

Griff

Feb 14 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Ah...

Re-reading the MSDN article, I see at the very top line that it says that it
reports a warning, but just to ignore this warning.

Ho hum...

Griff
Feb 14 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.