sakaki- / gentoo-on-rpi-64bit

Bootable 64-bit Gentoo image for the Raspberry Pi4B, 3B & 3B+, with Linux 5.4, OpenRC, Xfce4, VC4/V3D, camera and h/w codec support, weekly-autobuild binhost
GNU General Public License v3.0
925 stars 127 forks source link

Difficulty updating locale to ja_JP #113

Closed ajping closed 4 years ago

ajping commented 4 years ago

I've followed the instructions and the locale changes to Japan/Japanese. But for some reason when I reboot the change is not permanent and it reverts back to GB locale. Apologies if this is a noob question - I don't have much experience with localization.

sakaki- commented 4 years ago

Hi - did you get this solved? Best, sakaki

ajping commented 4 years ago

Yes, I think so. It turns out that setting locale with env-update only writes LANG in 02locale. But that wasn't enough to keep the system switched over to Japanese - something kept switching it back to GB. I manually added and set LC_CTYPE to ja_JP.utf8 and that keeps it switched over. After adding and setting LC_TIME, the date command now shows the correct localtime as well!

Best, Aaron

On Tue., Oct. 8, 2019, 01:12 sakaki, notifications@github.com wrote:

Hi - did you get this solved? Best, sakaki

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/sakaki-/gentoo-on-rpi-64bit/issues/113?email_source=notifications&email_token=ANNC7EYQAIZEX3TNJ6RPNKDQNNNXNA5CNFSM4I57CPXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAQ5SWQ#issuecomment-539089242, or mute the thread https://github.com/notifications/unsubscribe-auth/ANNC7E7PC2PR4QG72KLH3H3QNNNXNANCNFSM4I57CPXA .

sakaki- commented 4 years ago

Glad to hear you got it sorted ^-^ I'll try and add a wiki page about localization shortly, had quite a few queries about it recently. Best, sakaki