diff --git a/gramps/plugins/lib/libhtmlbackend.py b/gramps/plugins/lib/libhtmlbackend.py
index c01b4e246..3175923ba 100644
--- a/gramps/plugins/lib/libhtmlbackend.py
+++ b/gramps/plugins/lib/libhtmlbackend.py
@@ -44,7 +44,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