Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFBundleCopyLocalizedString question




Le 5 juil. 08 à 17:45, Dmitry Markman a écrit :

Hi

suppose I have application that loads bundle with id "com.my.bundle.id"

suppose that bundle has few localizations

if I want to load localizable string from that bundle
I have to use
CFBundleCopyLocalizedString with CFBundleGetBundleWithIdentifier(CFSTR("com.my.bundle.id")) as its bundle argument


is it correct?

initially I thought that I can use CFBundleGetMainBundle()
but CFBundleGetMainBundle returns my main application bundle

so that means, if I want to get localizable string from the bundle
I have to provide right bundle and I can not use macro like CFCopyLocalizedString


thanks

What about CFCopyLocalizedStringFromTableInBundle() ?

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >CFBundleCopyLocalizedString question (From: Dmitry Markman <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.