Admin locale is always EN by default

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
kdim95
Advanced
Posts: 213
Joined: 26 Aug 2022, 12:17

Admin locale is always EN by default

Post by kdim95 » 22 Jun 2023, 10:49

Laravel framework version: 10.13.5
Aimeos Laravel version: ~2023.04
PHP Version: 8.2.7
Environment: Linux

Hello,

I'm having some problems with the locales.

Here's what happens:
  • If I attempt to login to the admin panel through the URL /admin, Aimeos adds ?locale=en
  • The admin page is always in english when I login, I need it to be in bulgarian, I always have to switch it to bulgarian
Locale Settings:
  • Locales -> Locales
    locale.PNG
    locale.PNG (12.9 KiB) Viewed 3534 times
  • Locales -> Languages (All languages but english and bulgarian are disabled)
    language.PNG
    language.PNG (57.13 KiB) Viewed 3534 times
  • Locales -> Currencies (All currencies but BGN and EUR are disabled)
    currency.PNG
    currency.PNG (65.78 KiB) Viewed 3534 times

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

Re: Admin locale is always EN by default

Post by aimeos » 22 Jun 2023, 16:00

Language in the backend depends on the language set in the langid column of the "users" table of the editor.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

kdim95
Advanced
Posts: 213
Joined: 26 Aug 2022, 12:17

Re: Admin locale is always EN by default

Post by kdim95 » 23 Jun 2023, 08:24

Thank you, I should have guessed :idea:

Post Reply