beremiz

PY2 specific fix: disable translation.
py2compat
22 months ago, Edouard Tisserant
b67a88003c0e
Parents c13ecf5ee141
Children 7bc6098c85e3
PY2 specific fix: disable translation.

SVGHMI build is broken when windows language use coma as a decimal point.
Didn't find the way to just change just decimal point locale setting with wxPython 3.x.
No way either to use XSLT format-number, since it produces only fixed decimal point numbers.
--- a/util/TranslationCatalogs.py Thu Aug 08 14:56:13 2024 +0200
+++ b/util/TranslationCatalogs.py Tue Aug 13 11:24:07 2024 +0200
@@ -49,6 +49,8 @@
def AddCatalog(locale_dir):
+ # i18n is disabled, since it causes decimal point problems on windows
+ return
if os.path.exists(locale_dir) and os.path.isdir(locale_dir):
domain = GetDomain(locale_dir)
if domain is not None: