?
Solved

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

Posted on 2004-04-22
1
Medium Priority
?
721 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 500 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

Technology Partners: 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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

800 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