diff --git a/Scripts/Bash/Functions/cli_getLangName.sh b/Scripts/Bash/Functions/cli_getLangName.sh index ff1b0ca..e49f116 100755 --- a/Scripts/Bash/Functions/cli_getLangName.sh +++ b/Scripts/Bash/Functions/cli_getLangName.sh @@ -26,7 +26,7 @@ function cli_getLangName { - local LANGCODE="$(echo $1 | cut -d_ -f1)" + local LANGCODE="$(echo "$1" | cut -d_ -f1 | tr '[:upper:]' '[:lower:]')" local LANGNAME='' case $LANGCODE in