getPreference ui

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

Hi John,

I tested in #2318 and #2189 on Mac, and I’m getting “en” as the result in the Simulator for both. Are you on Windows or Mac?

Brent

Hi Brent… Yes, I am using Windows for development. Thanks

Hi @schizoid2k,

This is a known bug with case #26473, so we’re aware of it and will look into it.

Brent

Hi John,

I tested in #2318 and #2189 on Mac, and I’m getting “en” as the result in the Simulator for both. Are you on Windows or Mac?

Brent

Hi Brent… Yes, I am using Windows for development. Thanks

Hi @schizoid2k,

This is a known bug with case #26473, so we’re aware of it and will look into it.

Brent