From 3e2b5360be4bd2dffc0eb3bf7ae89f62d7199ae4 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Thu, 18 Feb 2021 16:42:33 -0400 Subject: [PATCH] fix: set default language --- AppRun | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/AppRun b/AppRun index efc7e76a8a..b701e47717 100755 --- a/AppRun +++ b/AppRun @@ -3,4 +3,12 @@ APPDIR="$(dirname "$(readlink -f "${0}")")" export LD_LIBRARY_PATH="${APPDIR}/usr/lib/:${LD_LIBRARY_PATH}" export QT_QPA_PLATFORM="xcb" +DEFAULT_LANG=en_US.UTF-8 +if [[ "$LANG" == "C.UTF-8" ]] +then + export LANG=$DEFAULT_LANG +else + export LANG="${VARIABLE:=$DEFAULT_LANG}" +fi + exec "${APPDIR}/usr/bin/nim_status_client" "$@"