How to use NSLocalizedString in IB [iPhone SDK]?

前端 未结 5 1845
误落风尘
误落风尘 2021-02-03 13:55

When I assign text programmatically, I can use NSLocalizedString(....), but if I am writing the text directly in IB (say to a UILabel) how do I localize it?

5条回答
  •  Happy的楠姐
    2021-02-03 14:31

    You can create multiple versions of a .nib file for each locale. There are also tools to let you edit the strings in them easily. Apple has pretty good documentation on this.

提交回复
热议问题