sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    Get_locale

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 3 Posters 740 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.
    • Al HartA Offline
      Al Hart
      last edited by

      @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

        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
        • fredo6F Offline
          fredo6
          last edited by

          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
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement