Japanese translation

This commit is contained in:
Thomas 2019-08-24 17:15:11 +02:00
parent 22be708af6
commit 0735173da0
2 changed files with 2 additions and 1 deletions

View file

@ -4,7 +4,7 @@
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
parameters:
allowed_language: "fr|en|nl|pt-PT|pt-BR|de|ar|it|ca"
allowed_language: "fr|en|nl|pt-PT|pt-BR|de|ar|it|ca|ja"
languages: "(%allowed_language%)?"
services:
# default configuration for services in *this* file

View file

@ -53,6 +53,7 @@
<a class="dropdown-item" href="{{ path(route, {'_locale':'pt-PT' }) }}">Português</a>
<a class="dropdown-item" href="{{ path(route, {'_locale':'pt-BR' }) }}">Brasil</a>
<a class="dropdown-item" href="{{ path(route, {'_locale':'ca' }) }}">Català</a>
<a class="dropdown-item" href="{{ path(route, {'_locale':'ja' }) }}">日本語</a>
</div>
</li>
</ul>