diff --git a/src/detection/locale/locale_linux.c b/src/detection/locale/locale_linux.c index 65b4f9289..4b5123059 100644 --- a/src/detection/locale/locale_linux.c +++ b/src/detection/locale/locale_linux.c @@ -4,6 +4,10 @@ void ffDetectLocale(FFstrbuf* result) { + ffStrbufAppendS(result, getenv("LC_ALL")); + if(result->length > 0) + return; + ffStrbufAppendS(result, getenv("LC_MESSAGES")); if(result->length > 0) return;