NSLocalizedString not works in plugin

Peter Hosey boredzo at adium.im
Tue Jan 26 01:38:12 UTC 2010


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”.





More information about the devel mailing list