diff --git a/gramps/plugins/lib/libhtmlbackend.py b/gramps/plugins/lib/libhtmlbackend.py
index 7006350e5..ed3943cfa 100644
--- a/gramps/plugins/lib/libhtmlbackend.py
+++ b/gramps/plugins/lib/libhtmlbackend.py
@@ -46,7 +46,7 @@ from gramps.gen.plug.docbackend import DocBackend
from gramps.plugins.lib.libhtml import Html, xml_lang
from gramps.gen.errors import ReportError
-from gramps.const import GRAMPS_LOCALE as glocale
+from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext