diff --git a/Scripts/Bash/Functions/Locale/locale_doMessages.sh b/Scripts/Bash/Functions/Locale/locale_doMessages.sh index ddb8958..8da3121 100755 --- a/Scripts/Bash/Functions/Locale/locale_doMessages.sh +++ b/Scripts/Bash/Functions/Locale/locale_doMessages.sh @@ -28,7 +28,7 @@ function locale_doMessages { # Define variables as local to avoid conflicts outside. - local POT_FILE=$TEXTDOMAINDIR/$TEXTDOMAIN.pot + local POT_FILE=$TEXTDOMAINDIR/$(cli_getCurrentLocale)/$TEXTDOMAIN.pot local PO_FILE=$TEXTDOMAINDIR/$(cli_getCurrentLocale)/$TEXTDOMAIN.po local MO_FILE=$TEXTDOMAINDIR/$(cli_getCurrentLocale)/LC_MESSAGES/$TEXTDOMAIN.mo local LANGNAME=$(cli_getLangName $(cli_getCurrentLocale))