Re: .r or .strings file not being read in framework
Re: .r or .strings file not being read in framework
- Subject: Re: .r or .strings file not being read in framework
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 6 Apr 2007 12:11:13 -0600
On Apr 6, 2007, at 10:42 AM, Mike Linden wrote:
I have a framework compiled with Xcode 2.4.1. When I include either
a .r
file and try and us ::GetIndString, or I try and use .strings file
and use
CFCopyLocalizedString, neither will return the value from the
external file.
In the case of .r, it returns a NULL string, and in the case
of .strings it
returns the 'key' value. Both files are placed in the 'English.lproj'
directory within the project file, and both files were included in
the phase
'Build ResourceManager Resources'. Once compiled, the files are in the
correct location of the executable framework project.
Any idea as to what I might be missing here?
CFCopyLocalizedString() loads strings from the localized strings
table in the main bundle; you probably want to use
CFCopyLocalizedStringFromTableInBundle() instead.
Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request
_______________________________________________
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