Solved

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

Posted on 2004-04-22
1
710 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
[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
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

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