New answers tagged

10

C stands for the C programming language. It is a synonym for the POSIX locale. See http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html#tag_07_02 The POSIX locale can be specified by assigning to the appropriate environment variables the values "C" or "POSIX".


0

I had same problem in my system: Kubuntu 16.04 LTS (kernel:4.4.0-31-generic(x86_64)). But I solved it in very simple way: in "system settings" under "personalization" tab, click on "regional settings". choose "Formats" from right menu. In the left check "detailed settings" and change every detail such as Numbers or Time to your desired language and region. ...


0

You can fix the first problem by generating the German locale: sudo locale-gen de_DE.UTF-8


0

With locales you must remove the language that conflicts with your system, this worked for me, on ubunty kylin 16.04, I have installed it over ubuntu 14.04


0

This is an old post but here is the solution I use on 16.04 (Xenial) sudo dpkg-reconfigure keyboard-configuration Then run: sudo dpkg-reconfigure console-setup


0

Normally you should not set LC_ALL persistently as a global environment variable. If you do that on a desktop, you make the GUIs for setting languages/locales useless. As regards your Python program, you need this line: locale.setlocale(locale.LC_ALL, '') It makes the locale, i.e. the output of the locale command, effective within the Python program.



Top 50 recent answers are included