Localization in Swift 2

前端 未结 3 1949
生来不讨喜
生来不讨喜 2021-01-11 19:13

I want to localize my application; I am using Swift 2. I followed this tutorial but I experience 2 issues.

1. Localized image disappears for both languages

3条回答
  •  不知归路
    2021-01-11 20:12

    In the Localizable.strings for English and German you have missed the semi-colon at the end of statement.

    It should be like :

    "buttonTitle" = "MyButton"; and

    "buttonTitle" = "MeinButton";
    

    You can refer Apple docs for this.

提交回复
热议问题