[Question] Has ArchLinux on Docker discontinued support for non-Indo-European locales?
I recreated a docker Blackarch container today and found that I could not input Japanese characters correctly even if I started it with -e TZ=Asia/Tokyo -e LANG=C.UTF-8 -e LANGUAGE=en_US:
. So I added ja_JP.UTF-8 UTF-8
to /etc/locale.gen and tried to compile with the locale-gen command, but it was impossible.
[root@e4535bacdd21 /]# vim /etc/locale.gen
[root@e4535bacdd21 /]# locale-gen
Generating locales...
en_US.UTF-8... done
ja_JP.UTF-8... done [error] cannot open locale definition file `ja_JP': No such file or directory
Then I realized the problem in the first place. From the beginning, /usr/share/i18n/locales/ja_JP
itself did not exist.
[root@e4535bacdd21 ~]# file /usr/share/i18n/locales/ja_JP
/usr/share/i18n/locales/ja_JP: cannot open `/usr/share/i18n/locales/ja_JP' (No such file or directory)
[root@e4535bacdd21 ~]# ls /usr/share/i18n/locales/
en_AG en_HK en_PH en_ZW translit_circle translit_fraction
en_AU en_IE en_SC i18n translit_cjk_compat translit_hangul
en_BW en_IL en_SG i18n_ctype translit_cjk_variants translit_narrow
en_CA en_IN en_US iso14651_t1 translit_combining translit_neutral
en_DK en_NG en_ZA iso14651_t1_common translit_compat translit_small
en_GB en_NZ en_ZM iso14651_t1_pinyin translit_font translit_wide
[root@e4535bacdd21 ~]#
I am studying information engineering at a college in Japan. The Blackarch Docker image is directly influenced by the ArchLinux Docker image, so I had to create a Blackarch container based on it for the report process. After some research, I think this originates from the ArchLinux side of the system, not from BlackArch.
I'll ask again. Is this a specification? Or is it a bug?