The mixed locale settings used by Ubuntu 20.04.

Colin Watson cjwatson at ubuntu.com
Sat Jun 6 20:28:05 UTC 2020


On Sat, Jun 06, 2020 at 10:53:18PM +0800, Hongyi Zhao wrote:
> I installed Ubuntu 20.04 and select the en-US as the default language
> during the installation process. But I noted the following settings
> for my system:
> 
> $ cat /etc/default/locale
> #  File generated by update-locale
> LANG="en_US.UTF-8"
> LC_NUMERIC="zh_CN.UTF-8"
> LC_TIME="zh_CN.UTF-8"
> LC_MONETARY="zh_CN.UTF-8"
> LC_PAPER="zh_CN.UTF-8"
> LC_NAME="zh_CN.UTF-8"
> LC_ADDRESS="zh_CN.UTF-8"
> LC_TELEPHONE="zh_CN.UTF-8"
> LC_MEASUREMENT="zh_CN.UTF-8"
> LC_IDENTIFICATION="zh_CN.UTF-8"
> 
> I'm very confusing on the above mixed locale settings. Any hints for
> this problem?

The general idea of this is that the locale settings above (LC_NUMERIC,
etc.) are the ones that correspond more closely to your selected
location than to your selected language.  I infer that you told it that
your location was China, so it was trying to give you its best
approximation of "English speaker living in China" that can be expressed
in the locale system, which is unfortunately a bit cumbersome.

If this best guess doesn't work for you, you can of course change it.

-- 
Colin Watson (he/him)                              [cjwatson at ubuntu.com]




More information about the ubuntu-users mailing list