• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CFBundleCopyLocalizedString does not work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFBundleCopyLocalizedString does not work


  • Subject: Re: CFBundleCopyLocalizedString does not work
  • From: "Glenn L. Austin" <email@hidden>
  • Date: Wed, 7 Oct 2009 07:41:24 -0700


On Oct 7, 2009, at 7:35 AM, Dieter Oberkofler wrote:

The problem is that IÄm unable to retrieve (locate) the string resource file always just get the default value.
I'm aware of the fact that when using NULL or an empty default string it returns the key but the problem is that I never actually get the value in the file and can't figure out why.


Well, by default, strings should be in (at least) the Resources folder. If you want to use localized versions, then put them into the appropriate localized name.

Xcode should pretty much do this automatically for you.

plutil will tell you if your strings file is correct -- which, by the way, if you're using the "string" = "string"; format, the file should be using UTF-16 encoding.

--
Glenn L. Austin, Computer Wizard and Race Car Driver         <><
<http://www.austin-soft.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


  • Follow-Ups:
    • Re: CFBundleCopyLocalizedString does not work
      • From: Dieter Oberkofler <email@hidden>
References: 
 >CFBundleCopyLocalizedString does not work (From: Dieter Oberkofler <email@hidden>)
 >Re: CFBundleCopyLocalizedString does not work (From: "Glenn L. Austin" <email@hidden>)
 >Re: CFBundleCopyLocalizedString does not work (From: Dieter Oberkofler <email@hidden>)

  • Prev by Date: Re: CFBundleCopyLocalizedString does not work
  • Next by Date: Keychain warnings annoyance
  • Previous by thread: Re: CFBundleCopyLocalizedString does not work
  • Next by thread: Re: CFBundleCopyLocalizedString does not work
  • Index(es):
    • Date
    • Thread