?
Solved

Globalization and the Database

Posted on 2013-01-09
2
Medium Priority
?
193 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 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

741 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