torsten's .NET blog In the end, everything is a gag [Ch. Chaplin]
# Tuesday, February 22, 2005
Keep them synchronized!

Today I wrote a little tool to keep the various language resource files of VS7 projects synchronized: you know usually you have to add a new resource string to all the language files as you need a new one. But I think I'm not the only one: I'm lazy to maintain them all the time I need a new entry :-( Especially if you have more than a hand full of language specific .resx files. So here it is:

http://www.rendelmann.info/packages/DiffPatchResources.zip

From the readme:

A small console application to keep VS7 .resx files in sync. with the main resource.

It expect the path and filename to the main text resource file (.resx, no language LCID) as a command line parameter, so you can simply drag/drop the main resource file to the executable file, e.g.:

 DiffPatchResources.exe "C:\MyProjects\MyApp\Resources\mainText.resx"

It will iterate the "/root/data" entries in the main file (e.g. main.resx) and
patch each dependent language file (mainText.[LCID].resx) to contain any missing entry. Further, if the source data contains a comment element and the content of that starts with "CHANGED" text, it will replace the yet existing target entry with the changed entry of the source.

It writes a .bak file on each modified resource and reports success/failures and some statistics to the console.

========= ATTENTION! =============

Currently it does NOT work on .resx files related to Forms! You should not try to get it run on such files! I will not guarantee for any success and will not be responsible for any damage resulting of the any usage of this tool!

For any improvements or comments leave a comment here, please. Have fun!

Technorati tags:  | 
Tuesday, February 22, 2005 12:13:53 PM (W. Europe Standard Time, UTC+01:00)    #  Comments [0]  |  Tracked by:
"Cash Advance" (Cash Advance) [Trackback]

Navigation

Like RSS Bandit? Make a donation to help support its development and maintenance. As little as 1€ will help.

Make payments with PayPal - it's fast, free and secure!
On this page....
<February 2005>
SunMonTueWedThuFriSat
303112345
6789101112
13141516171819
20212223242526
272812345
6789101112

SUBSCRIBE RSS GeoURL e-mail

Search
Categories
Blogroll
[Feed] Dare Obasanjo
Dare Obasanjo aka Carnage4Life
[Feed] Clemens Vasters
[Feed] Omar Shahine
[Feed] Tom Mertens

newtelligence dasBlog 2.1.8102.813

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

WOT Notar

Join WebHost4Life.com