473,385 Members | 1,824 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 1281
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.