For the iPhone, can you program for different languages?
For the iPhone, is it开发者_StackOverflow possible to program applications to translate words from a base language to any of several languages of various users. If so, how?
Sure, this is called localisation (or as Apple calls it, "internationalization"). Here's a tutorial, and here are the Apple docs on it.
You can easily get a localized string using NSBundle
s -localizedStringForKey:value:table:
for values that you've defined in a localizable.strings file.
精彩评论