473,394 Members | 1,717 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,394 software developers and data experts.

Localization:Translating DB values in local languages

In our ASP .NET 1.1 application, we query the database to obtain a
list of categories such as "Agriculture", "Business", etc. and display
them to the user, each against a checkbox. The names of categories are
obtained dynamically from the DB. The categories are stored in the DB
in English. We now want to support multiple languages in our
application. The DB values will remain unchanged, but the categories
will be displayed in different languages based on the Locale. The
categories will be translated to their local equivalents in the local
characters.
Ideally, I expect a facility by which I can translate such as:
Translate(MyStringFromDB,"zh-CHS")
This would lookup the translation table and find the Chinese word for
the English value contained in MyStringFromDB.
Where should these translations be stored and how should they be shown
in the local language. Should be use resource files to achieve this?
Any pointers to the technique to be used, will be greatly helpful.

Thanks,
Yash

Mar 24 '07 #1
1 1167
On Mar 24, 7:35 am, yas...@gmail.com wrote:
In our ASP .NET 1.1 application, we query the database to obtain a
list of categories such as "Agriculture", "Business", etc. and display
them to the user, each against a checkbox. The names of categories are
obtained dynamically from the DB. The categories are stored in the DB
in English. We now want to support multiple languages in our
application. The DB values will remain unchanged, but the categories
will be displayed in different languages based on the Locale. The
categories will be translated to their local equivalents in the local
characters.
Ideally, I expect a facility by which I can translate such as:
Translate(MyStringFromDB,"zh-CHS")
This would lookup the translation table and find the Chinese word for
the English value contained in MyStringFromDB.
Where should these translations be stored and how should they be shown
in the local language. Should be use resource files to achieve this?
Any pointers to the technique to be used, will be greatly helpful.

Thanks,
Yash
Do it in the database. It will be at least faster.

SQL Server?

TBL_Categories is your English categories

TBL_

Mar 24 '07 #2

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

Similar topics

3
by: Sebastian Bargmann | last post by:
Hi, I think I've read everything there is to read about localization in dotNET and I still don't get it. I understand the concepts and I understand the code, but there's no way that the...
1
by: enahar | last post by:
Dear Sir/Madam We are going to do the Localization/Globalisation for our product which has nearly got 284 forms using satellite Assemblies. I have got 2 questions 1. How to handle Substrings....
4
by: Matthias S. | last post by:
Hi everybody, I'm starting to design a Portal-Style application which should support a couple of languages. What I figured is that one could use various resx files to localize more or less...
5
by: CMM | last post by:
I don't seem to "get" ASP.NET 2.0's Localization features. I've read up on everything... and of course, everything is explained in cursory softball terms- not any "real-world" usage way. I hope...
2
by: bruno | last post by:
I need to localize my ASP.NET app and I just used "Tools" --"generate local resources" command and everything works fine in my WebForms. Resource file name is: MyWebForm.aspx.resx under a subDir...
2
by: monsieur.marco | last post by:
Hi all, Does anybody know how to save localization in an excel workbook (C# 1.1)? I'm not sure this is possible, but I'm trying to do this so that numberColumns keep their format no matter what...
2
by: TVDJR | last post by:
Hi, I haven't had much luck in finding anything on this subject matter. I have a decent understanding of localization techinques but am not quite sure about some of the more simple things related...
3
by: Corey B | last post by:
I have an ASP.NET application that was built in ASP.NET v1.1. It has a SQL Server back end database. I have been asked to provide an estimate for the level of effort required to produce a Chinese...
0
by: Daniel Magliola | last post by:
I'm having a weird behaviour when implementing localization resource files in my website. This looks like a .Net bug to me, but it's too obvious to be there, so I must be overlooking something. ...
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: 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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
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...

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.