Solved

Globalization and the Database

Posted on 2013-01-09
2
191 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 19

Accepted Solution

by:
Manoj Patil earned 500 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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

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 …
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

689 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