diff --git a/Scripts/Bash/Functions/Locale/locale_getLocales.sh b/Scripts/Bash/Functions/Locale/locale_getLocales.sh index cfca53d..b9c4b76 100755 --- a/Scripts/Bash/Functions/Locale/locale_getLocales.sh +++ b/Scripts/Bash/Functions/Locale/locale_getLocales.sh @@ -27,7 +27,9 @@ function locale_getLocales { + local LOCALE=/usr/bin/locale + # Print locales supported by centos-art.sh script. - locale -a | egrep '^[a-z]{2,3}_[A-Z]{2}$' | sort | uniq + ${LOCALE} -a | egrep '^[a-z]{2,3}_[A-Z]{2}$' | sort | uniq }