guys, I am wondering how cocoa supports multilanguage (mac) apps?
I mean which is the more convenient way to design an interface/mvc t开发者_JAVA技巧o support multilanguage?
thanks
You probably want to start by reading this article:
http://developer.apple.com/library/ios/#documentation/MacOSX/Conceptual/BPInternational/BPInternational.html
and then go from there.
Cocoa and Cocoa Touch use nibs to define the interface and then you use a "strings" file to do your actual localization. In many cases, you'll wind up with one nib and many strings files (one for each localization in your application).
A good place to start would probably be here, or more specifically for Mac OS X development you could look here.
精彩评论