Re: Localization and PB
Re: Localization and PB
- Subject: Re: Localization and PB
- From: sinclair44 <email@hidden>
- Date: Sun, 23 Feb 2003 14:14:28 -0500
On 2/23/03 2:02 PM, "Jesus De Meyer" <email@hidden> wrote:
>
I've been wanting to Localize my app for awhile but I don't really
>
understand how this is done. I have read the documentation on Apple's
>
website, but I couldn't find how to add an .lproj folder to my app in
>
PB. Also, how exactly do I translate a menu item for example? Is there
>
a way to find out which language is currently active and then check if
>
my app supports it, and if it does then load the correct .nib file?
>
>
Thanks
>
>
Jesus
Most of this is handled automatically. All you need to do is create
localized variants of files. For example, select "MainMenu.nib" and get info
on it. Select "Create localized variant..." from the drop-down, and put in
"German". Click the disclosure triangle next to MainMenu.nib and open the
German variant. Localize it (it won't change your English one), and build.
The OS handles the rest. Great, isn't it!
--
-- sinclair44
[self becomeWorldDictator];
- (void)becomeWorldDictator
{
[[world currentLeaders] assassinate];
[[world citizens] terrorize];
[world setCurrentLeaders:[NSArray arrayWithObject:self]];
}
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.