IPhone localization: Is it possible to translate nib files easily without having to copy the nib for each language?

前端 未结 6 1391
清歌不尽
清歌不尽 2021-02-02 02:41

I\'m trying to find a manageable way to translate every visible string in an iPhone application. The official apple documentation says to use .strings files for programmatic st

6条回答
  •  一整个雨季
    2021-02-02 03:01

    Apple's built-in command line program ibtool lets you do this. You can dump the strings from a XIB, localize them, then create a new XIB based on the existing XIB but using the localized strings. So you can always have a base set of XIBs and recreate them all whenever the localized strings change. More info here: http://www.bdunagan.com/2009/03/15/ibtool-localization-made-easy/.

提交回复
热议问题