Re: Localization of a plugin
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