mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Use en/ as default language. When no route prefix is selected, then use the locale setting.
This commit is contained in:
parent
216ef282e2
commit
0ec2b72225
2 changed files with 2 additions and 1 deletions
|
@ -5,3 +5,4 @@ controllers:
|
||||||
prefix:
|
prefix:
|
||||||
en: '/en'
|
en: '/en'
|
||||||
de: '/de'
|
de: '/de'
|
||||||
|
'%locale%': '/'
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Put parameters here that don't need to change on each machine where the app is deployed
|
# 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
|
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
|
||||||
parameters:
|
parameters:
|
||||||
locale: 'de'
|
locale: 'en'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
# default configuration for services in *this* file
|
# default configuration for services in *this* file
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue