Localization and international preferences
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