Xcode - Target specific localization

前端 未结 2 1131
一向
一向 2021-01-20 07:41

My project includes several targets, each target is used for different customer. Some customers need specific localization and I don\'t want all the customers to get this sp

2条回答
  •  独厮守ぢ
    2021-01-20 07:55

    I manage to solve it with @Yitzchak answer + additional changes:

    • In project level add the desired language.
    • Remove original localizable file from the target.
    • Create new Localizable.strings / InfoPlist.strings and add it to the target.
    • Select only the relevant languages in "localization" option (see the image below)

提交回复
热议问题