summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.seo.xml
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2019-03-26 05:56:55 +0000
committerRomain Derie <rde@odoo.com>2019-08-26 16:35:19 +0000
commit269aa594111a152ad4b7714856ea745bfef57155 (patch)
treed5f8f7e86209102d831b2e222038d45bd7fe7626 /addons/website/static/src/xml/website.seo.xml
parentf10f120de3017bc8d0e9a5ac72eeec1280374a1d (diff)
[IMP] http_routing, website: allow to customize the lang in URL
With this commit it is now possible to change the lang displayed in the URL. Eg, you could use `/fr` instead of `/fr_BE`, or even a fancier `/french`. Task-32838 Courtesy of pla@odoo.com closes odoo/odoo#35135 Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Diffstat (limited to 'addons/website/static/src/xml/website.seo.xml')
-rw-r--r--addons/website/static/src/xml/website.seo.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/src/xml/website.seo.xml b/addons/website/static/src/xml/website.seo.xml
index e3c442d8f32..6bafe769f16 100644
--- a/addons/website/static/src/xml/website.seo.xml
+++ b/addons/website/static/src/xml/website.seo.xml
@@ -2,7 +2,7 @@
<templates id="template" xml:space="preserve">
<t t-name="Configurator.language_promote">
<t t-foreach="language" t-as="lang">
- <option t-att-value="lang[0]" t-att-selected="lang[0] == def_lang ? 'selected' : null"><t t-esc="lang[1]" /></option>
+ <option t-att-value="lang[0]" t-att-selected="lang[0] == def_lang ? 'selected' : null"><t t-esc="lang[2]" /></option>
</t>
</t>