How simplify iPhone localization?

后端 未结 3 531
野性不改
野性不改 2020-12-15 08:43

I need to localiza a in development app for English & Spanish.

Despite the fact I follow the Apple way of use NSLocalizedString & create nibs for both, I alr

3条回答
  •  春和景丽
    2020-12-15 09:17

    Sometimes NiBs need to be laid out for each language, but most of the time they do not have to be re-laid out for each language.

    If you used ibtool to generate the strings from the nibs

    ibtool --generate-strings-file

    You can import them into new nibs for each language.

    ibtool --import-strings-file

    These are command line tools so they are scriptable. Take a look at 'man ibtool'

提交回复
热议问题