Using build 2014.2322, but I believe that this has been around for a bit…
According to the documentation, the following should return a 2 character country code.
[lua]
print(system.getPreference(“ui”, “language”))
[/lua]
I am expecting “en” but here is my output from the simulator:
[lua]
Copyright © 2009-2014 C o r o n a L a b s I n c .
Version: 3.0.0
Build: 2014.2289
Platform: iPad / x64 / 6.1 / GeForce GT 630/PCIe/SSE2 / 4.4.0
1033
[/lua]
Is this a bug or something that cannot be executed in the simulator?
thanks,
–John