diff options
author | Julie Pichon <jpichon@redhat.com> | 2017-02-10 14:30:26 +0000 |
---|---|---|
committer | Emilien Macchi <emilien@redhat.com> | 2017-02-18 15:19:32 +0000 |
commit | 83d8153666f1e6502240651dc5d63633603fb5b4 (patch) | |
tree | 461f8bcf0cb6b85fe8640caa234fc81bf0db95ee /manifests | |
parent | 81071f69e9efdc185f36ff68fda70d4d468da987 (diff) |
Enable languages in UI config
Which language options to offer to the UI users is determined in the
configuration file. Let's show all possible languages by default,
unless specified otherwise.
Change-Id: I513303bf82dca53e2291ab66f2385a2985a1846e
Related-Bug: #1663279
(cherry picked from commit 053ee06787539f6da07985968d6c3b0194e56008)
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/ui.pp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/ui.pp b/manifests/ui.pp index 7b87397..d51ef2e 100644 --- a/manifests/ui.pp +++ b/manifests/ui.pp @@ -31,6 +31,11 @@ # The port on which the UI is listening. # Defaults to 3000 # +# [*enabled_languages*] +# Which languages to show in the UI. +# An array. +# Defaults to ['en-GB', 'en', 'de', 'ja', 'ko-KR', 'zh-CN', 'es'] +# # [*endpoint_proxy_keystone*] # The keystone proxy endpoint url # Defaults to undef @@ -89,6 +94,7 @@ class tripleo::ui ( $bind_host = hiera('controller_host'), $ui_port = 3000, $zaqar_default_queue = 'tripleo', + $enabled_languages = ['en-GB', 'en', 'de', 'ja', 'ko-KR', 'zh-CN', 'es'], $endpoint_proxy_zaqar = undef, $endpoint_proxy_keystone = undef, $endpoint_proxy_heat = undef, |