Symfony - change default language

Questions around the Aimeos bundle for the Symfony framework
Forum rules
Always add your Symfony, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: Symfony - change default language

Post by aimeos » 26 Aug 2018, 17:32

The locale entries are not relevant for the admin interface, only for the frontend. For the backend, the langid property in the fos_user table is the own you have to care about.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Seds
Posts: 34
Joined: 26 Jun 2018, 17:42

Re: Symfony - change default language

Post by Seds » 27 Aug 2018, 08:42

sorry but everythings is ok, in local (wampserver / windows 10)
fos_user id=1 , langid = fr

plus, if you look for price, it doesn't appeared in french but by default in english
titles in english

and if i said to you that in local development everythings is ok

please look by yourself (for price at least): http://shop.twxdesign.com/web/detail/1/Pantalon_H/1
i think it's the same problem of translation
- translation on /admin : langid = fr
- price of products = 40€ for above links
- Add to basket, Suggested products & Last seen titles are in english

look fos user is in french
**

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: Symfony - change default language

Post by aimeos » 29 Aug 2018, 21:43

Like said, the fosuser langid value is only relevant for the administration interface. For the frontend, the language of the first localce entry is used.

The basket and last seen entries are cached in your browser session, so remove your cookies and execute

Code: Select all

./bin/console aimeos:cache
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply