Burak
Burak

Reputation: 5764

How to force application target to use one language in IOS?

I am trying to release 2 application with the same code. Therefore I created 2 targets, one for base language, one for international application. International app will have 5 localisation. Base app will only have base language localisation.

My problem is, even I build base application with base language, application translates the words into the phones current language.

What I need is, even the current language is not base language, app shouldn't translate the words into current language.

I hope it is clear.

Upvotes: 1

Views: 402

Answers (1)

Scrungepipes
Scrungepipes

Reputation: 37581

The Localization.strings file is per project not per target. You could put all the code into a static library and create two projects each of which link to the library. The two projects would be identical expect one has a single translation of Localization.strings and the other has 5 translations.

Upvotes: 1

Related Questions