Page 1 of 2
Symfony - change default language
Posted: 30 Jun 2018, 08:19
by Seds
hi,
i saw that we can change default language on TYPO3
what's about Symfony?
thanx
Re: Symfony - change default language
Posted: 30 Jun 2018, 19:23
by aimeos
The default language is determined by the entry with position 0 in the locale panel if it's not overwritten by the host application.
Re: Symfony - change default language
Posted: 02 Jul 2018, 16:50
by Seds
OK but is it possible to change default language on /admin instead of changing language each time we connect?
Re: Symfony - change default language
Posted: 03 Jul 2018, 10:27
by aimeos
Yes, if you change the language ID for the user in the customer panel
Re: Symfony - change default language
Posted: 03 Jul 2018, 17:10
by Seds
ok I've changed it, but it's still in english
I logout et relogin but default language on admin doesn't change
Re: Symfony - change default language
Posted: 06 Jul 2018, 13:43
by aimeos
Sorry, that feature wasn't implemented for Symfony but is now in dev-master and will be part of the 2018.07 release next week
Re: Symfony - change default language
Posted: 13 Jul 2018, 17:25
by Seds
ok upgraded. but default language in /admin is still in english.
Re: Symfony - change default language
Posted: 14 Jul 2018, 12:29
by aimeos
Works perfectly in a test setup if the language of the user is set to a different value and login via /admin is used.
What happens:
- On login, language ID of the user is retrieved
- language ID is added to the URL as "?langid=fr" for example
Re: Symfony - change default language
Posted: 17 Jul 2018, 21:06
by Seds
ok
it works
thanks
Re: Symfony - change default language
Posted: 25 Aug 2018, 19:57
by Seds
i dont' understand when i put in production all sites client and admin are in english while aimeos sites in local are in french
config and datebase ok
please