• 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
localization Q
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

localization Q


  • Subject: localization Q
  • From: John Mikros <email@hidden>
  • Date: Fri, 23 Sep 2005 16:22:23 -0700

Hello all,

I have an app in which I need to localize the UI based on an external value. Thus, I am doing all the localization manually and I do not have any .lproj folders in my bundle.

If that external value is ever missing, then I use + (NSArray *) preferredLocalizationsFromArray:(NSArray *)localizationsArray forPreferences:(NSArray *)preferencesArray; to figure out the best locale to use out of the ones we support.

This all works great.

However, there are places where Cocoa localizes things for us, and I need to be able to tell it programmatically what language to use in these cases.

For example, all the items under the Apple menu; Undo and Redo; Special Characters under Edit. These will get localized to the language set as the Development Region in the Info.plist or to the top language in System Preferences if Development Region is set to "Global".

Is there an API to tell cocoa what language to use for menus that it manages?

thanks
-john

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: localization Q
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: NSOutlineView with C++ classes
  • Next by Date: Define NSError Domain
  • Previous by thread: Screen Saver on multiple displays system
  • Next by thread: Re: localization Q
  • Index(es):
    • Date
    • Thread