From: Luis A. Garcia Date: Wed, 15 Jan 2014 23:20:51 +0000 (+0000) Subject: Re-enable lazy translation X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=5c36028a8c9e76d3c90e34c1e43b615a53e560cb;p=openstack-build%2Fneutron-build.git Re-enable lazy translation After enhancements to Oslo Message class, re-enable lazy translation to enable REST API responses to be translated to the requested user locale. bp i18n-messages Change-Id: I80272fb0d063a78882611b3044c920e28cc57d6b --- diff --git a/neutron/server/__init__.py b/neutron/server/__init__.py index e8a405128..a31cdbe40 100755 --- a/neutron/server/__init__.py +++ b/neutron/server/__init__.py @@ -28,7 +28,7 @@ from neutron.common import config from neutron import service from neutron.openstack.common import gettextutils -gettextutils.install('neutron', lazy=False) +gettextutils.install('neutron', lazy=True) def main():