diff options
Diffstat (limited to 'tools/linux_packaging/ardour.sh.in')
-rw-r--r-- | tools/linux_packaging/ardour.sh.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/linux_packaging/ardour.sh.in b/tools/linux_packaging/ardour.sh.in index 2d45607a9a..7b3f51dbec 100644 --- a/tools/linux_packaging/ardour.sh.in +++ b/tools/linux_packaging/ardour.sh.in @@ -54,7 +54,15 @@ sed "s?@ROOTDIR@/loaders?$LIB_DIR/loaders?" < $ETC_DIR/gdk-pixbuf.loaders.in > $ # Hack to fix i18n issue where the grid button gets translated even when translations are disabled. if [ ! -e $USER_ARDOUR_DIR/.love_is_the_language_of_audio ]; then - # Translations are disabled. Force english + # Translations are disabled. Force english, except for numerics and time/date + if [ x$LANG != x ] ; then + if [ x$LC_NUMERIC = x ] ; then + export LC_NUMERIC=$LANG + fi + if [ x$LC_TIME = x ] ; then + export LC_TIME=$LANG + fi + fi export LANG=C fi |