Comment 1 for bug 1722002

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Steps to show an example when this issue matters:

* English install from a US location
* Change formats from g-c-c to en_DK.UTF-8
  - to get reasonable date formats
  - this changes both "region" and ~/.pam_environment
* Install French from Language Support
* Change formats from Language Support to fr_FR.UTF-8
  - this changes ~/.pam_environment but not "region"
* Relogin

Result:

$ cat .pam_environment
LC_NUMERIC=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LC_MONETARY=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
PAPERSIZE=a4
$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_DK.UTF-8
LC_TIME=en_DK.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_DK.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_DK.UTF-8
LC_NAME=fr_FR.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_MEASUREMENT=en_DK.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_ALL=