Re: Changing the app language
Re: Changing the app language
- Subject: Re: Changing the app language
- From: "Jeff Bland" <email@hidden>
- Date: Fri, 27 Jul 2007 14:27:40 -0600
Great, I got it working using mainBundle's pathForResource, NSData's
dataWithContentsOfFile, and NSPropertyListSerialization's
propertyListFromData. However the comments, which I was using as headers for
sections that may contain identical keys (identical in english, but not
necessarily in other languages), are completely gone when I load it with
NSData. I suppose I'll have to work around that.
Thanks.
On 7/27/07, Douglas Davidson <email@hidden> wrote:
>
>
> There's no specific API for this; you need to use NSBundle
> language-specific resource APIs to locate the strings file, but in order to
> parse it you can just read it as a property list, so it's really not much
> code.
>
> Douglas Davidson
>
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden