How can I test app localization? - ios

I am testing that a specific app that is in English also works in Hebrew. In iPad Settings, my region is set to Israel, and I've changed the Language Settings from English to Hebrew. I tried restarting the app and the iPad, but the app text is still in English.
Some of the apps on my iPad have switched to Hebrew, but others are still in English.
What am I doing wrong?
See screenshots.some apps are still in English some apps are still in English

You need to change schema run options as described here
https://developer.apple.com/library/content/documentation/MacOSX/Conceptual/BPInternational/TestingYourInternationalApp/TestingYourInternationalApp.html
You will not need to change device/simulator region or language settings.

Related

Localize constants not updating properly even after relaunch app?

I have app level language change option (English & Greek) in my app settings irrespective of device language.
App default language is English.
When I change the app language into Greek and re-launch the app some of the strings are not changing into Greek, but when I do the same in English it is working fine. When I re-launch the twice like that all words are changing into the Greek, but not in single re-launch.
How to resolve this language change issue?
We are using RKLocalization from GitHub.

Change language to system permission modals in iOS swift

Apple didn't accept my application in the AppStore because the main language of my app is Spanish, but the modals that request permissions if the device is in English shows it in this language
They tell me that all my application must be in Spanish regardless of the language of the device.
I have already changed the development language to Spanish and it is still coming out in English. I have tried many ways, but not one has worked for me.
Development language
My app

xcode 9 localization App Problems

I'm trying to localize my app in Italian, English and Japanese language. but I've a problem. when try the localisation in iOS device to other language, the language don't change. It changes if the region be changed. E.g. The default language is English and the region of my iPhone is Italia. and if I change the language of device in Italian, app too change and become Italian. but if I change the language in Japanese or other language, like French, the language of app, don't change. remain Italian. now if I change the region to Japan, the language, change and become Japanese! just question: why?
and how can I make change the language of my app changing only the language of device?
thanks
p.s. this is the screenshot
UPDATE
I don't know why, but if I try my app in the simulator, this problem don't happen. It happen only on my physical device. why?
Solution Found!!!!
I've found the problem. I don't know why, but it solves all problem (or it seems so)
In Info.plist file I've changed Localisation native development region to Italy, as you can see in screenshot. When I restored the original value (Unite States), everything work perfectly.
Do your localization folder names contain a country as well as the language? You should have it.lproj/Localizable.strings, not it_IT.lproj/Localizable.strings, for the Italian language in any region, for example.

CFBundleDevelopmentRegion doesn't work while setting not supportive language

I'm designing an app which supports English, German and Simple Chinese(The app default is English).
However, while I set a language (like German, supportive language) to launch my app, it's normal. Then I set another language (like Korean, not supportive) and launch the app. The app still shows German version but English.
I'm pretty sure my CFBundleDevelopmentRegion is set en.
What to do to make the app show English version in other language?
I found the solution by myself.
First, go to info.plist to see CFBundleDevelopmentRegion
Before Xcode 7, we only need to choose the language as below.
enter image description here
We want English to be default language. Then we set "en".
However, Xcode 7 update Localization choices for same language.
Like en-UK and en-US are actually English.
So just choose the Localization wiz country
enter image description here
I choose United State then the bug is solved.

How do I set the default locale in xcode 5 and ios 7?

I know this is an already asked question, but no one of the answers helped me.
I'm writing an iOS app localized in italian and english.
I've already done two storyboards and two Localizable.strings file for the texts.
Now, if I set the english language on the phone, the app picks the english files, if I set the italian language on the phone the app picks the italian files.
But if I set french language(or spanish, or german), the app picks the italian files, which is wrong, how can I set english as the default language?
An iOS device keeps track of which languages you have set the locale to. If the currently selected locale is unsupported in an app, then the device will use the last user-selected language you used that is supported by the application.
So for example, imagine you had changed your device to English, then Italian, then Spanish. The app would first try and provide a Spanish localization. If one wasn't available, it would attempt Italian. If that wasn't available, then it would finally use English.
If you view the list of languages in the device's Settings, you'll see that they're ordered by 'last used'. I'm not aware of any way to alter this (seemingly intentional) feature.

Resources