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: Localizing CFBundleTypeName strings




Le 30 mai 08 à 20:24, Eric Gorr a écrit :

and uses CFBundleDisplayName and NSHumanReadableCopyright as examples.


However, again, there multiple CFBundleTypeName strings that I need to localize. It is unclear to me how I can refer to a specific CFBundleTypeName inside of a particular CFBundleDocumentType.

Anyone know if this is possible? Assuming it is possible, how does one do it?

Thank you.


In your main Info.plist::
CFBundleTypeName: MyBundleType

In your InfoPlist.strings file:

MyBundleType = "Localized Type";

Is that the exact syntax one uses or should it look something more like:


In the Info.plist:

<key>CFBundleTypeName</key>
<string>My Bundle Type</string>


In the InfoPlist.strings:

"My Bundle Type" = "My Localized Bundle Type";


Sorry for the confusion, I strip XML tags to simplify (and because they do not appears when you edit the file with PropertyList Editor) but, yes it should be like this.

<key>CFBundleTypeName</key>
<string>My Bundle Type</string>



_______________________________________________ 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: 
 >Localizing CFBundleTypeName strings (From: Eric Gorr <email@hidden>)
 >Re: Localizing CFBundleTypeName strings (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Localizing CFBundleTypeName strings (From: Eric Gorr <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.