Internationalization (i18n) - Enable French locale

Our project should now enable its internationalization.
This patchset add the french locale to the project but also
refactors the codebase to following the oslo_i18n recommendations.

DocImpact
Implements: blueprint support-translation

Change-Id: I0e4fbf05d16afb5e25bac78438c640f147c754b1
This commit is contained in:
Vincent Françoise
2015-12-11 18:02:19 +01:00
parent 7c72d6f912
commit bd29e2e79f
18 changed files with 614 additions and 54 deletions

View File

@@ -24,8 +24,8 @@ from wsgiref import simple_server
from oslo_config import cfg
from oslo_log import log as logging
from watcher._i18n import _
from watcher.api import app as api_app
from watcher.common.i18n import _
from watcher import service