From 2104e356be0067232f8e4d697e91085b5dc87f00 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Wed, 16 Oct 2024 19:48:42 +0100 Subject: [PATCH] core: enforce en_US language in cmds ref #9 --- src/SystemInfo.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SystemInfo.cpp b/src/SystemInfo.cpp index 5464c44..2d1f94f 100644 --- a/src/SystemInfo.cpp +++ b/src/SystemInfo.cpp @@ -19,10 +19,13 @@ #include #include #include +#include using namespace Hyprutils::String; CSystemInternals::CSystemInternals(QObject* parent) : QObject(parent) { + setenv("LANG", "en_US.UTF-8", true); + // gather data from os-release if (auto data = readFile("/etc/os-release")) { CVarList lines(data.value(), 0, '\n');