summaryrefslogtreecommitdiffstats
path: root/grub.tpl
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2018-09-04 21:35:12 +0200
committer Eric Hameleers <alien@slackware.com>2018-09-04 21:35:12 +0200
commit64883e34b1e44a60de1833c9efee1c0647c16b94 (patch)
treef0824de8b0e36cfb6a85e3711cdd3661632f13c8 /grub.tpl
parent0f8b5cc6f83090f8c08b5e54b63956ae330e7eaf (diff)
downloadliveslak-64883e34b1e44a60de1833c9efee1c0647c16b94.tar.gz
liveslak-64883e34b1e44a60de1833c9efee1c0647c16b94.tar.xz
Make the default language of the Live ISO configurable
Added a new parameter to 'make_slackware_live.sh' script: -l <localization> 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.
Diffstat (limited to '')
-rw-r--r--grub.tpl14
1 files changed, 7 insertions, 7 deletions
diff --git a/grub.tpl b/grub.tpl
index 6c87a06..bc3a780 100644
--- a/grub.tpl
+++ b/grub.tpl
@@ -9,19 +9,19 @@ set timeout=20
# Slackware Live defaults, can be changed in submenus:
if [ -z "$sl_kbd" ]; then
- set sl_kbd="us"
+ set sl_kbd="@KBD@"
export sl_kbd
fi
if [ -z "$sl_tz" ]; then
- set sl_tz="US/Pacific"
+ set sl_tz="@TZ@"
export sl_tz
fi
if [ -z "$sl_lang" ]; then
- set sl_lang="us american"
+ set sl_lang="@LANDSC@"
export sl_lang
fi
if [ -z "$sl_locale" ]; then
- set sl_locale="en_US.utf8"
+ set sl_locale="@LOCALE@"
export sl_locale
fi
@@ -48,15 +48,15 @@ menuentry "Start @CDISTRO@@DIRSUFFIX@ @SL_VERSION@ @LIVEDE@ Live @VERSION@ ($sl_
initrd ($root)/boot/initrd.img
}
-submenu "Non-US Keyboard selection" --hotkey k {
+submenu "Non-@ULANG@ Keyboard selection" --hotkey k {
configfile $grubdir/kbd.cfg
}
-submenu "Non-US Language selection" --hotkey l {
+submenu "Non-@ULANG@ Language selection" --hotkey l {
configfile $grubdir/lang.cfg
}
-submenu "Non-US Timezone selection" --hotkey t {
+submenu "Non-@ULANG@ Timezone selection" --hotkey t {
configfile $grubdir/tz.cfg
}