]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Use system locale when Accept-Language header is not provided
authorJenkins <jenkins@review.openstack.org>
Tue, 20 Aug 2013 16:54:01 +0000 (16:54 +0000)
committerLuis A. Garcia <luis@linux.vnet.ibm.com>
Tue, 20 Aug 2013 19:09:22 +0000 (19:09 +0000)
commit95bffe0d2c7adeaad99ca890a7fdbd7c18b8e72f
tree611b3d613f5b1cbbeef48a30e6e56d904de5a013
parent1623b035177272d290b7a7aa2918d9fba36405fe
Use system locale when Accept-Language header is not provided

Remove en_US as the default language when no header is provided, and use
None instead. Upon translation None will be defaulted to system as it
was before the translation changes.

Fixes bug: #1214476

Change-Id: I0fe22c526710e69ae0731e7d0b42170e6f3a8523
heat/common/wsgi.py
heat/tests/test_wsgi.py