# HG changeset patch # User Pascal Bellard # Date 1613916453 0 # Node ID dacad4df6c6ab4960b29ac9493ac1b5cac405f11 # Parent a532199346111a53a92916f3af5467a14523b03a gettext needs locale definition files diff -r a53219934611 -r dacad4df6c6a etc/init.d/system.sh --- a/etc/init.d/system.sh Tue Sep 15 15:00:15 2020 +0000 +++ b/etc/init.d/system.sh Sun Feb 21 14:07:33 2021 +0000 @@ -31,6 +31,8 @@ fi . /etc/locale.conf action 'Setting system locale: %s' "$LANG" +[ -d /usr/lib/locale/${LANG%.*} ] || +localdef -i ${LANG%.*} -c -f UTF-8 /usr/lib/locale/${LANG%.*} export LC_ALL=$LANG status