• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

Get_locale

Scheduled Pinned Locked Moved Developers' Forum
3 Posts 3 Posters 720 Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    Al Hart
    last edited by 26 Dec 2007, 22:46

    @unknownuser said:

    Sketchup.get_locale
    en-US

    Has anyone noticed that the local for the US is now en-US?

    Or is this a setting I missed somewhere?

    Al Hart

    http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
    IRender nXt from Render Plus

    1 Reply Last reply Reply Quote 0
    • T Offline
      todd burch
      last edited by 26 Dec 2007, 22:46

      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

      1 Reply Last reply Reply Quote 0
      • F Offline
        fredo6
        last edited by 26 Dec 2007, 22:46

        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.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          3/3
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement