summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-05-12 00:24:47 +0200
committerCarl Hetherington <cth@carlh.net>2025-05-12 00:24:47 +0200
commit351297f2b408bbf4e3198bede69a3725e8468334 (patch)
treebeb955601664f11625d1e7f08d8693b00b868ec9
parent85dd14c15bd2124de10b2ff23ea285d159d5c258 (diff)
hax
-rw-r--r--src/lib/util.cc9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index bc74ae3dd..aca0fa651 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -569,13 +569,8 @@ dcpomatic_setup_c_and_gettext_i18n(string lang)
#endif
}
-#ifndef DCPOMATIC_WINDOWS
- // /* On Windows this seems to take us from the configured locale back to C,
- // * which is never what we want. On macOS/Linux this has the opposite effect
- // * of making the configured language be applied to printf() etc.
- // */
- // setlocale(LC_ALL, "");
-#endif
+ setlocale(LC_ALL, "");
+
textdomain("libdcpomatic2");
bindtextdomain("libdcpomatic2", mo_path().string().c_str());
bind_textdomain_codeset("libdcpomatic2", "UTF8");