Announcement

Collapse
No announcement yet.

Cannot get locale to work properly

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Settings] Cannot get locale to work properly

    Hello,

    I've had Kubuntu 23.04 installed for a few months now, but no matter what I try and which guide I follow, I cannot get the locale set properly.

    This is what I get when I try locale:

    Code:
    locale: Cannot set LC_ALL to default locale: No such file or directory [/COLOR]
    LANG=en_US.UTF-8
    LANGUAGE=
    LC_CTYPE="en_US.UTF-8"
    LC_NUMERIC=nl_NL.UTF-8
    LC_TIME=nl_NL.UTF-8
    LC_COLLATE="en_US.UTF-8"
    LC_MONETARY=nl_NL.UTF-8
    LC_MESSAGES="en_US.UTF-8"
    LC_PAPER=nl_NL.UTF-8
    LC_NAME=nl_NL.UTF-8
    LC_ADDRESS=nl_NL.UTF-8
    LC_TELEPHONE=nl_NL.UTF-8
    LC_MEASUREMENT=en_NL.UTF-8
    LC_IDENTIFICATION=nl_NL.UTF-8
    LC_ALL=

    I want the language to be English and the other things to be .nl.

    As it stands many commands keep complaining about the locale, for example:

    Code:
    >mcomix 
    Traceback (most recent call last):
    File "/usr/bin/mcomix", line 33, in <module>
    sys.exit(load_entry_point('mcomix==2.1.0', 'console_scripts', 'mcomix')())
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/mcomix/run.py", line 106, in run
    i18n.install_gettext()
    File "/usr/lib/python3/dist-packages/mcomix/i18n.py", line 72, in install_gett
    ext
    locale.setlocale(locale.LC_ALL, '')
    File "/usr/lib/python3.11/locale.py", line 626, in setlocale
    return _setlocale(category, locale)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    locale.Error: unsupported locale setting
    ​Could somebody help me out please?





    Last edited by Snowhog; Aug 26, 2023, 12:10 PM.
Working...
X