More unicode fixes in the test suite
[mediagoblin.git] / mediagoblin / mg_globals.py
index fffa1ddae9f083e0aa49fc126607728e5dff6245..356a944d981cfa86efa941207ec528d2cb0b7d1c 100644 (file)
@@ -45,11 +45,8 @@ workbench_manager = None
 # A thread-local scope
 thread_scope = threading.local()
 
-# gettext
-thread_scope.translations = gettext.find(
-    'mediagoblin',
-    pkg_resources.resource_filename(
-    'mediagoblin', 'translations'), ['en'])
+# gettext (this will be populated on demand with gettext.Translations)
+thread_scope.translations = None
 
 # app and global config objects
 app_config = None