From 5c36028a8c9e76d3c90e34c1e43b615a53e560cb Mon Sep 17 00:00:00 2001 From: "Luis A. Garcia" Date: Wed, 15 Jan 2014 23:20:51 +0000 Subject: [PATCH] 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 --- neutron/server/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron/server/__init__.py b/neutron/server/__init__.py index e8a4051287..a31cdbe403 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():