Solved

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

Posted on 2004-04-22
1
709 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
ID: 10886453
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 Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

838 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