• 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 and international preferences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Localization and international preferences


  • Subject: Localization and international preferences
  • From: louloulou <email@hidden>
  • Date: Mon, 04 Feb 2002 16:58:10 +0100

Hello,

My application contains a function wich returns localized port name (using
CFURLCreateWithFileSystemPath with
"/System/Library/PrivateFrameworks/Admin.framework", CFBundleCreate and
CFCopyLocalizedStringFromTableInBundle). In the international preferences
one language is selected : French. Localization works well.

But when I use another application to launch the first one (using
AuthorizationExecuteWithPrivileges after user authentification) I only get
english names.

I've used
CFCopyPreferredLocalizationsFromArray(CFBundleCopyBundleLocalizations(myBund
le)) to show preferred localizations : in the first case (when it works) I
can see 'French', in the second case I can see 'English'.

Both applications have a CFBundleDevelopmentRegion = French, a French.lproj
folder in their bundle, and the international preferences are the same in
both cases.

Could you help me ?

Thank you,

Lou


  • Follow-Ups:
    • Re: Localization and international preferences
      • From: Finlay Dobbie <email@hidden>
    • Re: Localization and international preferences
      • From: Markus Hitter <email@hidden>
  • Prev by Date: RE: NSDataView
  • Next by Date: Re: reading in text files
  • Previous by thread: disabling a NSTableView
  • Next by thread: Re: Localization and international preferences
  • Index(es):
    • Date
    • Thread