Get_locale
-
@unknownuser said:
Sketchup.get_locale
en-USHas anyone noticed that the local for the US is now en-US?
Or is this a setting I missed somewhere?
-
Yes, I did. They went from 2 bytes to 5 bytes long. It's part of Google's move to support Internationalizations. You'll also notice that os_language is also changed (and it might be wrong, too).
6.0.1099 on the PC and 6.0.1077 on the Mac.
Todd
-
Strange things actually.
On a PC with Windows XP in French, Sketchup v6.0.277, I get the following:
Sketchup.get_locale --> "FR"
Skectup.os_language --> "EN" (so two characters only).On another laptop, with Windows XP US International version and Sketchup v6.0.515, I get:
Sketchup.get_locale --> "EN"
Skectup.os_language --> "EN" (so two characters only).So this new behavior you report seems pretty recent.
Advertisement