Solved

How to create a resource file (.resx) programatically based on data from an access database

Posted on 2004-04-22
1
699 Views
Last Modified: 2012-06-27
I am trying to make an existing program internationalized, so that you can change language on the fly. This no problem, it's just that I have all keys/values in an access database. The db only contains one table, which has 4 columns: key, english, norwegian, spanish.
This contains about 500 rows. The problem is I don't want to copy all 500 key/english values into a resource file using the .net editor (and repeat it again for all other languages). Because 3 resource files need to be created (nb-NO.resx, en-UK.resx and es-ES.resx). Is there a way to create a little program that reads the database, and then puts all keys and values for english into the en-UK.resx file, then all keys and values for norwegian and put those into nb-NO.resx etc. ????

I can create the resource files beforehand (empty), so I don't have to create the resource files in the code. All it needs to do is add a key and value to the given resourcefile. I have looked in a resource file with no entries, and there was a lot of structure in it. A lot of xml and xsd entries (it looked a bit to complicated for me...). Anyone who has any ideas????
0
Comment
Question by:astensland
1 Comment
 
LVL 23

Accepted Solution

by:
rama_krishna580 earned 125 total points
Comment Utility
i hope this will help you...

http://www.devx.com/dotnet/Article/6997/1954?pf=true

Best of luck..

R.K
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

762 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now