473,326 Members | 2,134 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,326 software developers and data experts.

A translatable website

Bob
I want to make my website translatable in different spoken languages, such
as English and French. I'm thinking of storing each display string in one
XML file:

<string00000001>
<english>Hello</english>
<french>Bonjour</french>
<spanish>...</spanish>
<japanese>...</japanese>
</string00000001>
<string00000002>
<english>Goodbye</english>
<french>Au revoir</french>
<spanish>...</spanish>
<japanese>...</japanese>
</string00000002>
....

Suppose there are 50,000 such strings in the XML, would there be any speed
concerns in retrieving these strings for display on the website?
Nov 25 '05 #1
4 1186
Bob,

Keep specific .xml file for each language.For maintinance purpose
it will be good.Bcos in future if you want to change some specific string for
one particular language ,you need to search string,language.Instead if you
keep seperate file,it will easy for u to change. And also if you have big xml
file ,surely it will take time to load the xml file which contains more data.

"Bob" wrote:
I want to make my website translatable in different spoken languages, such
as English and French. I'm thinking of storing each display string in one
XML file:

<string00000001>
<english>Hello</english>
<french>Bonjour</french>
<spanish>...</spanish>
<japanese>...</japanese>
</string00000001>
<string00000002>
<english>Goodbye</english>
<french>Au revoir</french>
<spanish>...</spanish>
<japanese>...</japanese>
</string00000002>
....

Suppose there are 50,000 such strings in the XML, would there be any speed
concerns in retrieving these strings for display on the website?

Nov 25 '05 #2
For my opinion satelite assmblies would be the best solution

"Santhi Maadhaven" wrote:
Bob,

Keep specific .xml file for each language.For maintinance purpose
it will be good.Bcos in future if you want to change some specific string for
one particular language ,you need to search string,language.Instead if you
keep seperate file,it will easy for u to change. And also if you have big xml
file ,surely it will take time to load the xml file which contains more data.

"Bob" wrote:
I want to make my website translatable in different spoken languages, such
as English and French. I'm thinking of storing each display string in one
XML file:

<string00000001>
<english>Hello</english>
<french>Bonjour</french>
<spanish>...</spanish>
<japanese>...</japanese>
</string00000001>
<string00000002>
<english>Goodbye</english>
<french>Au revoir</french>
<spanish>...</spanish>
<japanese>...</japanese>
</string00000002>
....

Suppose there are 50,000 such strings in the XML, would there be any speed
concerns in retrieving these strings for display on the website?

Nov 25 '05 #3
Read this short tutorial on how to do it in ASP.NET 2.0

http://www.pcquest.com/content/codin.../104063001.asp

Best regards,
Mats

Bob wrote:
I want to make my website translatable in different spoken languages, such
as English and French. I'm thinking of storing each display string in one
XML file:

<string00000001>
<english>Hello</english>
<french>Bonjour</french>
<spanish>...</spanish>
<japanese>...</japanese>
</string00000001>
<string00000002>
<english>Goodbye</english>
<french>Au revoir</french>
<spanish>...</spanish>
<japanese>...</japanese>
</string00000002>
...

Suppose there are 50,000 such strings in the XML, would there be any speed
concerns in retrieving these strings for display on the website?

Nov 25 '05 #4
"Bob" <sp******@nospam.com> wrote in message
news:e%****************@TK2MSFTNGP11.phx.gbl...
I'm thinking of storing each display string in one XML file:


Don't...

http://www.google.com/search?sourcei...multi+language
Nov 25 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: ohaya | last post by:
Hi, I've been researching this, and I'm not sure if what I'm trying to do is possible, but I thought that I'd ask: I have two webservers/websites. The first webserver/website is running...
3
by: Newbie | last post by:
I have a C# asp.net webform with a Link Button to a website but it's not opening the website correctly. It's saying "The page cannot be found". But the website is loading when I use IE. Below is...
17
by: stubbsie | last post by:
Hi, I have redesigned our official public government website in .net and it has taken me a few months to redo. I have been the sole designer of the website from its humble beginnning a few years...
2
by: crferguson | last post by:
I'm having a really odd issue. Recently my company has upgraded our data server. For a couple of months I'm having to host two versions of the same website on our webserver until the new data...
19
by: cpnet | last post by:
I'm using VS2005, C#, ASP.NET 2.0. I'm trying to create a report using SQL Reporting Services (to be used in local mode so I don't have to deal with SQL Server). When I create a new report in my...
7
by: Atul | last post by:
Hi Theres a website that books hotels . user enters the information and according to that results are displayed to the user.Let it be website A. Now I want to create a new project with...
3
by: Mintyman | last post by:
Hi, I have 2 fields in a database: 'email' and 'website'. In the majority of cases, the website field is not populated even though the email address is. In 90% of cases, the website will be...
5
by: daveh551 | last post by:
What, from a high level point of view, is the difference (in Visual Studio 2005) between Website (accessed with Open Website or Create Website from the StartPage) that is an ASP.NET Website, and a...
2
by: Wayne Smith | last post by:
Applies to: Visual Studio 2008 Professional Hi everyone, I'm in the middle of creating a website with VS2008 and I'm trying to integrate a user registration/login section on the website but I've...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.