翻译(更改)Objective-C(特定语言)中的字符串
我有这个游戏,其中包含大量文本作为语音。我想为用户提供将游戏语言更改为他们喜欢的语言的选项。任何人都可以向我指出资源或给我一个实现此目标的起点吗?也许是字符串查找表?
谢谢,
杰克
I have this game, that contains a lot of text as speech. I would like to give the users the option of changing the language of the game to their preferred tongue.. Can anyone point me to a resource or give me a starting point to achieve this? String look-up table perhaps?
Thanks,
Jack
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
请参阅国际化中的本地化字符串资源编程主题。 iOS 有一个内置系统,使用 NSLocalizedString() 和相关函数来实现此目的。
另请参阅字符串资源资源编程指南。
See Localizing String Resources in Internationalization Programming Topics. iOS has a built-in system for this using
NSLocalizedString()
and related functions.See also String Resources in the Resource Programming Guide.
NSLocalizedString
在这里有用。 这里是一个关于本地化的简单教程。NSLocalizedString
is of use here. Here is a simple tutorial on localization.