NSLocalizedString not works in plugin
Chen Ze
surfchen at gmail.com
Tue Jan 26 03:53:12 UTC 2010
On Tue, Jan 26, 2010 at 9:38 AM, Peter Hosey <boredzo at adium.im> wrote:
> On Jan 25, 2010, at 17:35:29, Evan Schoenberg, M.D. wrote:
>>
>> The code the OP posted used NSLocalizedString(), which won't work without
>> specifying the bundle.
>
> He also said: “I also tried AILocalizedString with the table name which is
> same as bundle name.it also not works.”
>
> So, Chen Ze, the solution is:
>
> 1. Use AILocalizedString.
> 2. Name your string table file “Localizable.strings”.
>
>
Thanks.
it works.
and this may be helpful:
The related header file is #import <AIUtilities/AIStringUtilities.h>
--
aka Surf Chen
http://chenze.name/
More information about the devel
mailing list