diff --git a/src/static/js/vendors/html10n.ts b/src/static/js/vendors/html10n.ts
index ea5a1cb24a0..678a0095959 100644
--- a/src/static/js/vendors/html10n.ts
+++ b/src/static/js/vendors/html10n.ts
@@ -995,3 +995,9 @@ export default html10n
// @ts-ignore
window.html10n = html10n
+
+// gettext-like shortcut
+if (window._ === undefined){
+ // @ts-ignore
+ window._ = html10n.get;
+}