This video covers how you can create a basic system where the user can select a language and it will be stored in both database and the session, and when he user change’s it it will refresh the user in the session so it takes the changes in consideration, if you have any questions about this, please leave them in the comment section below and i’ll do my best to answer them :))

Github:
https://github.com/konshensx16/user-preference-language

#symfony #translation

Translation in Symfony 4 (Language based on user preference)
1.20 GEEK