Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Localization in iOS Simulator not working - any more...

$
0
0

I have an app that uses localization. It has been working fine (also in the simulator) for a while. At some point of upgrading all the bits and pieces to:

iOS 8 XCode 6 Mac OS X 10.10 Titanium Studio 3.4.0 and Alloy 1.5.1

it stopped working. So no matter what I do I just get an English version of my app. I have also seen that the keyboard on the Mac (that I normally use when entering info in the simulator) has changed to an English layout when used in the simulator (whereas in reality it is a Danish keyboard set up as Danish).

I have followed the guidlines in this excellent wiki article (before - and now again). But I only get English :-(

If I query Ti.Platform.locale it also returns "en".

So now I just tried to create a very simple two tabbed application (Alloy) add two directories for "da" and "en" under the "i18n" folder (at the same level as the "app" folder). I have one string translated in each of these files - and it only returns the English one (the simulator has been changed to Danish in the settings). So I can see that the app picks up the localization strings - just with the wrong locale.

I normally use TiShadow for development. But I have also tried to run the app directly on the simulator to eliminate any issues related to TiShadow.

Any ideas? What new "features" have I overlooked?

Thanks in advance.

/John

PS. I know I could just live with the English only app as most Danes speak English - but I doubt the users would agree to that approach though... ;-)


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>