diff --git a/geocatbridge/plugin.py b/geocatbridge/plugin.py index ae96b39..917530f 100644 --- a/geocatbridge/plugin.py +++ b/geocatbridge/plugin.py @@ -37,7 +37,7 @@ def __init__(self, iface): self.name = meta.getAppName() self.provider = None - self.locale = QSettings().value("locale/userLocale")[0:2] + self.locale = QSettings().value("locale/userLocale", QLocale().name())[0:2] locale_path = files.getLocalePath(f"bridge_{self.locale}") self.translator = QTranslator()