Localization:Translating DB values in local languages

Y

yashgt

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
 
G

Guest

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_
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,807
Latest member
ryef

Latest Threads

Top