?
Solved

Globalization and the Database

Posted on 2013-01-09
2
Medium Priority
?
198 Views
Last Modified: 2013-02-07
So we have globalization working and can pull content out of the resource files like

@Resources.resoucefile.Hat  

I have things in the database that I would also like to be able translate using the resource files. Is there a way to store @Resources.resoucefile.Hat  in the database and have it pull from the resource files.  

So @Resources.resoucefile.Hat   would display  Hat.  I'm looping through database entries and would like to be able to display them in language of choice.

Thanks
0
Comment
Question by:Josh_Blade
2 Comments
 
LVL 19

Accepted Solution

by:
Manoj Patil earned 2000 total points
ID: 38762246
0
 
LVL 23

Expert Comment

by:Roopesh Reddy
ID: 38767538
Hi,

Instead, you can store the Resource Keys in the database and pull them when needed and convert the string based on the language!

I suggest you to design a Resource table in database which has the key and values in the supported languages

Database Table will be like this -

Resource Key | Eng | Turkish | Arab ....

We are using this design in our projects!

Hope it helps u...
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month13 days, 13 hours left to enroll

755 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question