mirror of
https://framagit.org/tom79/fediplan.git
synced 2025-04-05 05:31:48 +02:00
Add German
This commit is contained in:
parent
743126786a
commit
f298988a4e
3 changed files with 9 additions and 3 deletions
|
@ -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"
|
||||
allowed_language: "fr|en|nl|pt-PT|pt-BR|de"
|
||||
languages: "(%allowed_language%)?"
|
||||
services:
|
||||
# default configuration for services in *this* file
|
||||
|
|
5
public/img/flags/de.svg
Normal file
5
public/img/flags/de.svg
Normal file
|
@ -0,0 +1,5 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icon-css-de" viewBox="0 0 640 480">
|
||||
<path fill="#ffce00" d="M0 320h640v160H0z"/>
|
||||
<path d="M0 0h640v160H0z"/>
|
||||
<path fill="#d00" d="M0 160h640v160H0z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 213 B |
|
@ -44,9 +44,10 @@
|
|||
{% endif %}
|
||||
<a class="dropdown-item" href="{{ path(route, {'_locale':'en' }) }}"><img src="{{ asset("img/flags/en.svg") }}" alt="English" width="20"> English</a>
|
||||
<a class="dropdown-item" href="{{ path(route, {'_locale':'fr' }) }}"><img src="{{ asset("img/flags/fr.svg") }}" alt="Français" width="20"> Français</a>
|
||||
<a class="dropdown-item" href="{{ path(route, {'_locale':'de' }) }}"><img src="{{ asset("img/flags/de.svg") }}" alt="Deutsch" width="20"> Deutsch</a>
|
||||
<a class="dropdown-item" href="{{ path(route, {'_locale':'nl' }) }}"><img src="{{ asset("img/flags/nl.svg") }}" alt="Nederlands" width="20"> Nederlands</a>
|
||||
<a class="dropdown-item" href="{{ path(route, {'_locale':'pt-PT' }) }}"><img src="{{ asset("img/flags/pt-PT.svg") }}" alt="Nederlands" width="20"> Português</a>
|
||||
<a class="dropdown-item" href="{{ path(route, {'_locale':'pt-BR' }) }}"><img src="{{ asset("img/flags/pt-BR.svg") }}" alt="Nederlands" width="20"> Brasil</a>
|
||||
<a class="dropdown-item" href="{{ path(route, {'_locale':'pt-PT' }) }}"><img src="{{ asset("img/flags/pt-PT.svg") }}" alt="Português" width="20"> Português</a>
|
||||
<a class="dropdown-item" href="{{ path(route, {'_locale':'pt-BR' }) }}"><img src="{{ asset("img/flags/pt-BR.svg") }}" alt="Brasil" width="20"> Brasil</a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Reference in a new issue