Problems with putting locale selector in the header

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Sundblum
Posts: 2
Joined: 08 Sep 2017, 06:49

Problems with putting locale selector in the header

Post by Sundblum » 08 Sep 2017, 07:06

Hello,
first of all, think that Aimeos is terrific, it installs like a charm, everything is just fine.
Using Laravel 5.5, I have locales set, have currencies set.
But I'm struggling to put locale selector on the pages.. Reading the docs (https://aimeos.org/docs/Configuration/C ... ale_select), but I'm confused.., really need some example to help me get through.

Thanks

Sundblum
Posts: 2
Joined: 08 Sep 2017, 06:49

Re: Problems with putting locale selector in the header

Post by Sundblum » 08 Sep 2017, 08:07

Hello again,

I found where the problem was. Turns out there is a typo here: https://aimeos.org/docs/Laravel/Add_locale_selector

'catalog-lists' => array( 'locale/select','basket/mini','catalog/filter','catalog/stage','catalog/lists' ),

Must be:

Code: Select all

'catalog-list' => array( 'locale/select','basket/mini','catalog/filter','catalog/stage','catalog/lists' ),
There is "s" at the end of 'catalog-list'. Obviously it won't work.

Anyway, thanks!

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

Re: Problems with putting locale selector in the header

Post by aimeos » 08 Sep 2017, 08:50

Thanks for the hint! We've fixed the typo :-)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply