• 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
Localizing preference pane
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Localizing preference pane


  • Subject: Localizing preference pane
  • From: Daniel Stødle <email@hidden>
  • Date: Mon, 30 Jan 2006 11:23:04 +0100

Hi all,

I'm developing a small utility called FolderGlance. It is controlled via a preference pane, and I have just stumbled onto an unexpected localization issue. A user recently submitted a Polish localization of the preference pane to me, which I then added to my project. The problem I'm having is that the preference pane doesn't load the Polish localization, even though the preferred language is configured to be Polish. I even tried starting System Prefs using the AppleLanguages switch, specifying only Polish:

./System\ Preferences -AppleLanguages "(pl)"

To no avail - everything continued to run in English, including my pref pane. I have also tried naming the Polish localization "Polish.lproj". The preference pane is localized to other languages, like Japanese and French, which load correctly. In these cases, however, the entire System Preferences application takes on the new language. After some experimentation, I have determined that the Polish localization will only load if I either:

1. Add a Polish localization to System Preferences (say, by making a copy of the English.lproj and rename it pl.lproj), or

2. Remove the English localization from my preference panel.

So, is there any thing I can do about this? I don't see how I can implement any run-time checks, as by the time any such code gets executed, the wrong nib will already have been loaded. My current idea is basically to check for the user's preferred language, and if it is Polish, offer to remove the English localization from my pref pane. That feels like a bit of a hack, though, and I'd much prefer a cleaner solution.

Any ideas?

Thanks,
Daniel Stødle
Yellow Lemon Software
Check out FolderGlance:
<http://home.online.no/~stoedle/YLS/YLS-products/FolderGlance.html>

_______________________________________________
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


  • Prev by Date: How to Publish My Application Meeting details to iCal and also to .Mac
  • Next by Date: Text Input problems
  • Previous by thread: Re: How to Export My Application Meeting details to .ics file , from that to iCal
  • Next by thread: Text Input problems
  • Index(es):
    • Date
    • Thread