开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜