Best way to process each existing localization of strings file?
Best way to process each existing localization of strings file?
- Subject: Best way to process each existing localization of strings file?
- From: Daniel Jalkut <email@hidden>
- Date: Wed, 25 May 2005 12:04:39 -0700
I am trying to automate my versioning by defining a version number in
a build variable and then using that build variable in all the
required files.
I noticed by searching the archives that Xcode's failure to perform
variable substitution in InfoPlist.strings files is a known
limitation, so I am trying to concoct my own solution for those files.
As it happens, I only have an English localization at the moment, but
I'd like this build phase to be robust enough to automatically handle
any localized versions I might add in the future.
What's the best and most reliable way for me to iterate over all of
the localizations of a given file? Right now I'm trying to perform
this variable substitution at the very end, by manipulating the files
in the built products directory. Would it be easier to try to hook
in at some earlier build phase?
My naive approach is that I'll look in the Resources directory for
any directory ending in ".lproj". Is there a better way? Will I miss
anything by doing this?
Thanks!
Daniel
_______________________________________________
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