I’m working on internalization of my code in Python. Since my language has no other variants but pl_PL, I wonder which values the Python interpreter returns for e.g. en_AU / en_UK / en_GB or es_ES / es_MX system settings. Especially I wonder if
en_EN could be the default localization value. Could you please tell me your language and terminal output of commands as below?
OS language: Polish (Poland)
[piotr@asuspro ~]$ python Python 3.7.2 (default, Jan 10 2019, 23:51:51) [GCC 8.2.1 20181127] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import locale >>> locale.getlocale() ('pl_PL', 'UTF-8') >>>