Skip to content

Fixed incorrect import in l10n_lookup

Benjamin Winger requested to merge bmwinger/portmod:invalid_import_fix into master

Fixes #328 (closed)

It also turns out python's fixed how it handles parsing the locales on macOS. See https://bugs.python.org/issue18378.

As this no longer raises an exception, but instead produces a language of None, I've made it also fall back to en_GB in that case.

Edited by Benjamin Winger

Merge request reports