)]}'
{"specs/juno/graduate-oslo-i18n.rst":[{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"54d44b2bdffa2bc07639343c4f35947ee01ce8c3","unresolved":false,"context_lines":[{"line_number":117,"context_line":"   may be initialized through imports that happen before the"},{"line_number":118,"context_line":"   application has an opportunity to establish whether it wants lazy"},{"line_number":119,"context_line":"   translation enabled. We need to correct that, probably by updating"},{"line_number":120,"context_line":"   _make_translation_func() to work with USE_LAZY at runtime again."},{"line_number":121,"context_line":"3. Since each consuming app and library will have their own copy of"},{"line_number":122,"context_line":"   the marker functions, we can remove the global marker functions"},{"line_number":123,"context_line":"   from gettextutils."}],"source_content_type":"text/x-rst","patch_set":2,"id":"3ae8d1ca_261370b9","line":120,"updated":"2014-05-28 21:01:45.000000000","message":"Can\u0027t we just drop USE_LAZY and say that if you want lazy translation you need to enable it in your integration module when you create the factory?\n\nhttp://git.openstack.org/cgit/openstack/oslo.i18n/tree/oslo/i18n/gettextutils.py#n40","commit_id":"2d735b56bdce6daa3c7aae9a306f12b62ce3cc32"},{"author":{"_account_id":2472,"name":"Doug Hellmann","email":"dhellmann@redhat.com","username":"doug-hellmann"},"change_message_id":"9228d6c05c5dfb87d9fe476380b74a10a09e4220","unresolved":false,"context_lines":[{"line_number":117,"context_line":"   may be initialized through imports that happen before the"},{"line_number":118,"context_line":"   application has an opportunity to establish whether it wants lazy"},{"line_number":119,"context_line":"   translation enabled. We need to correct that, probably by updating"},{"line_number":120,"context_line":"   _make_translation_func() to work with USE_LAZY at runtime again."},{"line_number":121,"context_line":"3. Since each consuming app and library will have their own copy of"},{"line_number":122,"context_line":"   the marker functions, we can remove the global marker functions"},{"line_number":123,"context_line":"   from gettextutils."}],"source_content_type":"text/x-rst","patch_set":2,"id":"1ae5cdf2_4d5b5c54","line":120,"in_reply_to":"3ae8d1ca_261370b9","updated":"2014-05-30 23:01:02.000000000","message":"That works for applications, but not other libraries. A library shouldn\u0027t turn on lazy translation if the application doesn\u0027t support it. I\u0027ll probably end up removing the lazy flag from the factory entirely and managing the global flag from enable_lazy().","commit_id":"2d735b56bdce6daa3c7aae9a306f12b62ce3cc32"}]}
