@@ -0,0 +1,276 @@
+import gettext%0Aimport os%0A%0Adomain = 'learnregex'%0Alocaledir = os.path.join(os.path.dirname(__file__), 'locale/')%0Agettext.bindtextdomain(domain, localedir)%0Atranslation = gettext.translation(domain, localedir, fallback=True)%0A%0A%0Adef _(msg):%0A    return gettext.dgettext(domain, msg)%0A

Add data.py.