archlinux: Add fr_FR and ja_JP locales

Because sometimes you want to use a non-English language.
This commit is contained in:
Donovan Glover 2018-12-03 20:14:22 -05:00
parent f342218993
commit b55f9b7fce
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -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