• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to switch language (nib)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: How to switch language (nib)
      • From: Douglas Davidson <email@hidden>
References: 
 >How to switch language (nib) (From: Seaside <email@hidden>)

  • Prev by Date: Re: Date parsing question...
  • Next by Date: Re: Date parsing question...
  • Previous by thread: Re: How to switch language (nib)
  • Next by thread: Re: How to switch language (nib)
  • Index(es):
    • Date
    • Thread