Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

BollywooD

macrumors 6502
Original poster
Apr 27, 2005
372
46
Hamburg
I cant get my localizable.strings files to work.....

I have made sure file encoding is set to UTF 16.

I ran the genstrings commmand to generate my english localization, but even when i change values in this file, my ui isnt updated. the nib localization works just fine?

once my bundle is built the strings files all show up in the correct pace, the just seem to be ignored?


Am I totally missing something?

Ive added my source code for reference....
its an open source project.
 

Attachments

  • SafariCookies.zip
    423.5 KB · Views: 80
Since this is a plugin, make sure you're using NSLocalizedStringFromTableInBundle() and pass in your bundle. NSLocalizedString() looks for the strings in the main bundle, which would be Safari.
 
Since this is a plugin, make sure you're using NSLocalizedStringFromTableInBundle() and pass in your bundle. NSLocalizedString() looks for the strings in the main bundle, which would be Safari.

many thanks, once again kainjow.

the localization works as it should now, after updating to use NSLocalizedStringFromTableInBundle()
:D
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.