Short name for the language

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!
santfather
Posts: 27
Joined: 02 Feb 2022, 10:43

Short name for the language

Post by santfather » 17 Feb 2022, 10:55

Laravel version: 8.80
Aimeos version: 2021.10
PHP version: 8.0.8
Screenshot_22.png
Screenshot_22.png (119.15 KiB) Viewed 718 times
How can I reduce the length of the language name. For example, En instead of English?

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

Re: Short name for the language

Post by aimeos » 18 Feb 2022, 08:17

Overwrite the language template of the locale/select component, remove

Code: Select all

$this->translate()
and only use the language code, e.g. "EN".
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

santfather
Posts: 27
Joined: 02 Feb 2022, 10:43

Re: Short name for the language

Post by santfather » 18 Feb 2022, 08:58

Thanks. That helped

Post Reply