diff options
Diffstat (limited to 'test/translationtest.cc')
-rw-r--r-- | test/translationtest.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/translationtest.cc b/test/translationtest.cc index 98cff11..d99c623 100644 --- a/test/translationtest.cc +++ b/test/translationtest.cc @@ -63,7 +63,11 @@ public: void testFromLocale() { +#ifdef _WIN32 + _putenv_s("LANG", "da_DK.UTF-8"); +#else setenv("LANG", "da_DK.UTF-8", 1); +#endif UITranslation t; // Look up translation from .mo file |