[Pyobjc-dev] localization
Brought to you by:
ronaldoussoren
From: Jon C. <jon...@gm...> - 2009-11-30 23:46:57
|
Can someone provide me with a few quick pointers on how to do localization for a bare-bones app without any nibs, etc. There's only one example I can find and it seems to use Localized.strings inside English.lproj, etc, but I'm not sure how to tell my simple little app (w/o any nib files, etc) how to use it. So, what's the easiest way to do something like: # logtest.py import Foundation Foundation.NSLog(Foundation.NSLocalizedString("My Message","My Message")) If I could get that to work, I could probably localize my app, but there seems to be something I'm missing. What additional configuration is necessary so that: python setup.py py2app would know to use a localization file? Thanks, Jon |