Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Globalization and the Database

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

618 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