Localizable.strings files.. in xcode4

后端 未结 12 1018
长发绾君心
长发绾君心 2020-12-13 12:43

In xcode4, (I have used v4.0.1 until now and downloaded v4.0.2 yesterday.) I made Localizable.string files and compiled my project. (As you know, my source code uses NSLocal

12条回答
  •  长情又很酷
    2020-12-13 13:10

    I had this problem. My fix? Add a newline at the top of the file. Bizarre but it got it working for me.

    So instead of at the top of my file having this:

    /* comment */
    "LOCAL_APP_GRADE" = "Basic"
    

    I had to do:

    [newline]
    /* comment */
    "LOCAL_APP_GRADE" = "Basic"
    

    (Can't get the formatting right - don't type 'newline', just hit return!)

提交回复
热议问题