Merging strings?
Merging strings?
- Subject: Merging strings?
- From: Steve Mills <email@hidden>
- Date: Thu, 1 Sep 2005 16:39:49 -0500
I need to switch our projects from CW to Xcode in the next few months
(obviously) and am wondering if there is a tool or util that will
merge strings from 2 files? Right now our strings are in STR#
resources, some are in a .rsrc file in our Mac framework, and some
are in each project's .rsrc file. Some STR# resources will override
the framework's resources, and we accomplish this by putting the
files in the correct order in the CW project.
Switching to .strings files is obviously a good move because they can
contain Unicode, and they're not resource files. At this point I let
CW merge the 2 resource files, then run a postlink script that that
launches a util I wrote which gets the STR# resources, deletes them
from the resource file, and converts them to Localizable.strings
(using "resid_index" as the left side string). This works, but it
still prevents us from having Unicode strings to begin with. What I
need is a tool that will open both .strings source files, merge them,
and keep the first instance of any duplicate strings. Does such a
thing exist or am I going to have to roll my own?
Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden