I also find I need to set the LOCPATH environment variable (this with the locales-all package in stage packages):
stub@uurp:/home/stub$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_AU.UTF-8
LANGUAGE=en_AU:en_GB:en_US:en
LC_CTYPE="en_AU.UTF-8"
LC_NUMERIC=en_AU.UTF-8
LC_TIME=en_AU.UTF-8
LC_COLLATE="en_AU.UTF-8"
LC_MONETARY=en_AU.UTF-8
LC_MESSAGES="en_AU.UTF-8"
LC_PAPER=en_AU.UTF-8
LC_NAME=en_AU.UTF-8
LC_ADDRESS=en_AU.UTF-8
LC_TELEPHONE=en_AU.UTF-8
LC_MEASUREMENT=en_AU.UTF-8
LC_IDENTIFICATION=en_AU.UTF-8
LC_ALL=
stub@uurp:/home/stub$ export LOCPATH=$SNAP/usr/lib/locale
stub@uurp:/home/stub$ locale
LANG=en_AU.UTF-8
LANGUAGE=en_AU:en_GB:en_US:en
LC_CTYPE="en_AU.UTF-8"
LC_NUMERIC=en_AU.UTF-8
LC_TIME=en_AU.UTF-8
LC_COLLATE="en_AU.UTF-8"
LC_MONETARY=en_AU.UTF-8
LC_MESSAGES="en_AU.UTF-8"
LC_PAPER=en_AU.UTF-8
LC_NAME=en_AU.UTF-8
LC_ADDRESS=en_AU.UTF-8
LC_TELEPHONE=en_AU.UTF-8
LC_MEASUREMENT=en_AU.UTF-8
LC_IDENTIFICATION=en_AU.UTF-8
LC_ALL=
I also find I need to set the LOCPATH environment variable (this with the locales-all package in stage packages):
stub@uurp: /home/stub$ locale en_AU:en_ GB:en_US: en "en_AU. UTF-8" en_AU.UTF- 8 "en_AU. UTF-8" en_AU.UTF- 8 "en_AU. UTF-8" en_AU.UTF- 8 en_AU.UTF- 8 en_AU.UTF- 8 en_AU.UTF- 8 ON=en_AU. UTF-8 /home/stub$ export LOCPATH= $SNAP/usr/ lib/locale /home/stub$ locale en_AU:en_ GB:en_US: en "en_AU. UTF-8" en_AU.UTF- 8 "en_AU. UTF-8" en_AU.UTF- 8 "en_AU. UTF-8" en_AU.UTF- 8 en_AU.UTF- 8 en_AU.UTF- 8 en_AU.UTF- 8 ON=en_AU. UTF-8
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_AU.UTF-8
LANGUAGE=
LC_CTYPE=
LC_NUMERIC=
LC_TIME=en_AU.UTF-8
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=en_AU.UTF-8
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
stub@uurp:
stub@uurp:
LANG=en_AU.UTF-8
LANGUAGE=
LC_CTYPE=
LC_NUMERIC=
LC_TIME=en_AU.UTF-8
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=en_AU.UTF-8
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
stub@uurp: /home/stub$ LC_ALL=zh_TW.utf8 locale en_AU:en_ GB:en_US: en "zh_TW. utf8" "zh_TW. utf8" "zh_TW. utf8" "zh_TW. utf8" "zh_TW. utf8" "zh_TW. utf8" "zh_TW. utf8" "zh_TW. utf8" "zh_TW. utf8" "zh_TW. utf8" "zh_TW. utf8" ON="zh_ TW.utf8"
LANG=en_AU.UTF-8
LANGUAGE=
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=zh_TW.utf8