Re: How to switch language (nib)
Re: How to switch language (nib)
- Subject: Re: How to switch language (nib)
- From: Christopher Corbell <email@hidden>
- Date: Tue, 28 Oct 2003 13:21:13 -0800
You're probably already aware, but just to call them out
there are two ways the user can do this without any
help from your app:
1) get info on the app package and uncheck English
2) change System language to Spanish in System Prefs and
re-launch the app
In most cases I'd advocate teaching users about these
methods, since they'll apply to any localized app.
However if you really want to provide this feature from
within your app, I think you have to handle disabling
of the un-selected nib yourself. Maybe someone can inform
us otherwise, but I know of no easy way to intercept the
logic of the localized nib loading behavior at runtime.
I'd probably do this with something like a private
AppleScript or shell script that would move .lproj
folders into and out of the disabled folder (like the
Finder does) and then re-launch the app. This assumes
the user has write privileges on the app bundle.
Maybe someone else has a better solution?
- Christopher
On Tuesday, October 28, 2003, at 11:16 AM, Seaside wrote:
How do I integrate a feature, which allows the user to switch his
localized nib file from English (default language) to Spanish?
_______________________________________________
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.
_______________________________________________
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.