• 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: Localization of a plugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Localization of a plugin


  • Subject: Re: Localization of a plugin
  • From: Horst Hoesel <email@hidden>
  • Date: Fri, 28 Apr 2006 09:35:19 +0200


Hi All,

I have a problem that is driving me crazy with regards to localization.

I write a small plugin for a larger app. The larger app is not localized but my plugin has a large number of German users so I'd like to localize it to German.

I've gone through the process of creating a German.lproj which contains the properly localized version (nib + strings) and if I remove the English.lproj the German version shows up fine so i believe that is all in good order on the lproj front.

The problem is that if both a English.lproj and German.lproj are present if refuses to load the German version regardless of my language preference (and I know that's being set properly since when i change it in the control panel other apps appear in German)

My plugin loads the nib using
  [NSBundle loadNibNamed:@"<NIBNAME>" owner:self]

which I believe should try to load based on user language preference (and which does, as I mentioned earlier, find the German one if the English one is removed)

Anyway I'm not even sure how to proceed -- Any hints?

-jm

Hi Jim,

see the thread about Localization from last week where Douglas explained quite clearly how this all works (thanks Douglas, and ignore what I wrote ;). Since you are building a plugin, the 'settings' of the main app, which loads your plugin, will prevail except when you explicitly override them.

HTH,
Horst

_______________________________________________
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


References: 
 >Localization of a plugin (From: John McLaughlin <email@hidden>)

  • Prev by Date: Localization of a plugin
  • Next by Date: show and hide NSWindow
  • Previous by thread: Localization of a plugin
  • Next by thread: show and hide NSWindow
  • Index(es):
    • Date
    • Thread