473,472 Members | 2,139 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Site map localisation (.net 2.0)

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
1 844
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Simon Harvey | last post by:
Whato chaps, I work (or am hoping to work! :) for a company that specialises in the following: - Localisation of media - including software, manuals, literature and training material. -...
0
by: Olivier Carpentier | last post by:
Hi i think that i have a bug with Visual Studio 2003 with localisation of forms in design mode. It's don't working only with one solution, when i'm trying with another solution, it's working fine...
1
by: Olivier Matrot | last post by:
Hello, I have a W2K3 US Enterprise box on which ASP.NET localisation do not work. A standard installation on a fresh machine with same configuration (regional options and so on) is OK. If the...
6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
0
by: HackingPSP | last post by:
I saw a lot of requests for a program like this, so I wrote it. Yeah, my site has "PSP software by Auri" but in this case it means "Pretty Sweet Programming" :) There's both a VS2005 add-in and a...
20
by: mike | last post by:
I help manage a large web site, one that has over 600 html pages... It's a reference site for ham radio folks and as an example, one page indexes over 1.8 gb of on-line PDF documents. The site...
3
by: DBLWizard | last post by:
Howdy All, Is it possible to have Visual Studio 2005 create a project form an existing hosted website? In other words I want to be able connect via ftp to my website structure and have it pull...
16
by: Ben Sehara | last post by:
Is there any way I can limit the access to my website? I have a site "A" and I want to allow access to it only from site "B" login user. If someone try to access site "A" directory, I want it...
2
by: fury | last post by:
Hey guys n gals I am using resource file to localise my user interface. But i have an issue with it. When i use assembly key file does not become strong!! and localisation does not work... When i...
3
by: John Kotuby | last post by:
Hi all, Within an IFRAME of a standard site constructed of mostly static HTM type pages, I am calling up one page from a large ASP.NET 3.5 site. I have precompiled the ASP.NET site and...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.