Coder Social home page Coder Social logo

Comments (4)

Cimbali avatar Cimbali commented on August 17, 2024 1

Well I think it's weird how Windows presents it under region, I was confused as well. What is also confusing is that the language setting for Windows itself is not the same, that is the second window on your screenshot.

But if you look at it, you're picking a language, and then a variety, hence "German (Germany)". The region, or "Location" as they say is chosen in the next tab of that same window and can be totally unrelated to the language.

from pympress.

Cimbali avatar Cimbali commented on August 17, 2024

Alright, turns out this is expected behaviour. Python wil detect the "Format" setting, which is the first one you can see in the "Formats" tab of the "Region" settings.

As can be seen on the screenshot, this is set to German, and python correctly detects German as the language to use. This can be confirmed as well from the "System Locale:" line in the output of systeminfo (on the command line).

For future reference, the regions dialog shown in the screenshot can be found in the Control Panel by clicking on "Change date, time, or numbers format" under "Clock, Language and Region"

from pympress.

fefrei avatar fefrei commented on August 17, 2024

It's a bit... weird that Python uses the region to determine the language, but alright, it looks like this is a problem with Python itself. Thanks for looking into it!

from pympress.

fefrei avatar fefrei commented on August 17, 2024

True that, there's a setting English (Germany) 🎉
And: Weird indeed, some applications appear to follow the language list, and others follow this...

from pympress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.