How do I localize the string associated with the displayName key:
<plist version="1.0">
<dict>
<key>ProPlugPlugInList</key>
<array>
<dict>
<key>className</key>
<string>...</string>
<key>displayName</key>
<string>I WANT TO LOCALIZE THIS</string>
</dict>
</array>
</dict>
</plist>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Aperture-dev mailing list (Apertu...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/aperture-dev/aperture-dev%2Bgarchive-9674%40googlegroups.com
This email sent to aperture-dev+...@googlegroups.com
-Blake
On Aug 30, 2010, at 12:19 PM, Clarence Locke wrote:
> I understand how to localize a key that hangs off the "root" of an info.plist file (e.g., CFBundleGetInfoString) by placing the localization in the appropriate InfoPlist.strings file.
>
> How do I localize the string associated with the displayName key:
>
> <plist version="1.0">
> <dict>
> <key>ProPlugPlugInList</key>
> <array>
> <dict>
> <key>className</key>
> <string>...</string>
> <key>displayName</key>
> <string>I WANT TO LOCALIZE THIS</string>
> </dict>
> </array>
> </dict>
> </plist>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Aperture-dev mailing list (Apertu...@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/aperture-dev/bseely%40apple.com
>
> This email sent to bse...@apple.com
<plist version="1.0">
<dict>
<key>ProPlugPlugInList</key>
<array>
<dict>
<key>className</key>
<string>...</string>
<key>displayName</key>
<string>I WANT TO LOCALIZE THIS</string>
</dict>
<dict> <key>className</key> <string>...</string> <key>displayName</key> <string>AND I ALSO WANT TO LOCALIZE THIS OTHER THING</string> </dict> </array> </dict> </plist>
And also because the placement of the key is not at the root of the hierarchy — it's really at :ProPlugPlugInList:0:displayName (to use the PlistBuddy parlance).
While authoring this email, I tried all of the following permutations in the InfoPlist.strings file (all of which failed to generate a localized representation in the Aperture export menu):
1)
displayName = "foo";
2)
displayName = "foo";displayName = "bar";3):ProPlugPlugInList:0:displayName = "foo";:ProPlugPlugInList:1:displayName = "bar";4)ProPlugPlugInList:0:displayName = "foo";ProPlugPlugInList:1:displayName = "bar";
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Aperture-dev mailing list (Apertu...@lists.apple.com)
Help/Unsubscribe/Update your Subscription: