mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-16 11:51:13 +01:00
archlinux: Add fr_FR and ja_JP locales
Because sometimes you want to use a non-English language.
This commit is contained in:
parent
f342218993
commit
b55f9b7fce
@ -25,6 +25,8 @@ echo "127.0.1.1 $HOSTNAME.localdomain $HOSTNAME" >> /mnt/etc/hosts
|
|||||||
|
|
||||||
# Declare which locales we want to generate and generate them
|
# Declare which locales we want to generate and generate them
|
||||||
sed -i '/#en_US.UTF-8 UTF-8/s/^#//g' /mnt/etc/locale.gen
|
sed -i '/#en_US.UTF-8 UTF-8/s/^#//g' /mnt/etc/locale.gen
|
||||||
|
sed -i '/#fr_FR.UTF-8 UTF-8/s/^#//g' /mnt/etc/locale.gen
|
||||||
|
sed -i '/#ja_JP.UTF-8 UTF-8/s/^#//g' /mnt/etc/locale.gen
|
||||||
arch-chroot /mnt locale-gen
|
arch-chroot /mnt locale-gen
|
||||||
|
|
||||||
# Set the system locale to the generated en_US.UTF-8
|
# Set the system locale to the generated en_US.UTF-8
|
||||||
|
Loading…
Reference in New Issue
Block a user