From 64883e34b1e44a60de1833c9efee1c0647c16b94 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Tue, 4 Sep 2018 21:35:12 +0200 Subject: Make the default language of the Live ISO configurable Added a new parameter to 'make_slackware_live.sh' script: -l For example, create a liveslak ISO with dutch as the default language instead of US english: # ./make_slackware_live.sh -l nl Using this parameter you can onfigure a different default language for the resulting ISO image. The default localization if you do not supply this parameter remains "us" as before. The boot menu offers a selection of other languages/localizations to pick from (currently you can select any of 'be br da gb de de_ch es fr fr_ch it ja nl pt ru se us') but now you can create your own brand of liveslak ISO with your own language as the default. --- syslinux/lang.cfg | 5 +++++ syslinux/syslinux.cfg | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'syslinux') diff --git a/syslinux/lang.cfg b/syslinux/lang.cfg index c171eca..cb37d97 100644 --- a/syslinux/lang.cfg +++ b/syslinux/lang.cfg @@ -49,3 +49,8 @@ menu label russian kernel /boot/generic append initrd=/boot/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 locale=ru_RU.utf8 kbd=ru tz=Europe/Moscow +label us +menu label usa +kernel /boot/generic +append initrd=/boot/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 locale=en_US.utf8 kbd=us tz=US/Pacific + diff --git a/syslinux/syslinux.cfg b/syslinux/syslinux.cfg index 3f4bd5c..41267a4 100644 --- a/syslinux/syslinux.cfg +++ b/syslinux/syslinux.cfg @@ -6,7 +6,7 @@ F1 message.txt F2 f2.txt label live kernel /boot/generic - append initrd=/boot/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 kbd=us tz=localtime locale=us_EN.utf8 + append initrd=/boot/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 tz=localtime include lang.cfg -- cgit v1.2.3