change direction-right to left

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!
khizar
Posts: 99
Joined: 19 Jan 2021, 09:51

change direction-right to left

Post by khizar » 09 Mar 2021, 11:51

Hey aimeos.
Is there any option to move the direction from right to left when language is changed for example if arabic language is selected i want the direction from right to left, i mean side bar move to the right side of screen.Please note that i have added translations now i just want to change the direction
Image

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

Re: change direction-right to left

Post by aimeos » 09 Mar 2021, 18:05

The new Aimeos admin backend is optimized for RTL languages:
admin-rtl.png
admin-rtl.png (113.81 KiB) Viewed 4120 times
The Aimeos versions 2020.10 and before use Bootstrap 4 which doesn't support RTL languages well. You can try to add the CSS rule

Code: Select all

direction: rtl
to the root HTML element but that will only do half of the job.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

khizar
Posts: 99
Joined: 19 Jan 2021, 09:51

Re: change direction-right to left

Post by khizar » 12 Mar 2021, 07:16

aimeos wrote: 09 Mar 2021, 18:05 The new Aimeos admin backend is optimized for RTL languages:
admin-rtl.png

The Aimeos versions 2020.10 and before use Bootstrap 4 which doesn't support RTL languages well. You can try to add the CSS rule

Code: Select all

direction: rtl
to the root HTML element but that will only do half of the job.
can you please guide me how can i update aimeos.I am using laravel 8.
If i update aimeos will i be able to use that functionality.

Note : i ran composer update command and it gave an error
Script @php artisan migrate handling the post-update-cmd event returned with error code 1

khizar
Posts: 99
Joined: 19 Jan 2021, 09:51

Re: change direction-right to left

Post by khizar » 12 Mar 2021, 11:55

waiting for reply

khizar
Posts: 99
Joined: 19 Jan 2021, 09:51

Re: change direction-right to left

Post by khizar » 13 Mar 2021, 05:32

waitng for reply

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

Re: change direction-right to left

Post by aimeos » 13 Mar 2021, 16:05

If you use composer 2.x, executing

Code: Select all

composer req aimeos/aimeos-laravel:dev-master
php artisan aimeos:setup
should do the job. Note, that you will upgrade to a new major version (2020.10 -> 2021.x) which includes breaking changes that may not be backward compatible to the code you've written to extend Aimeos up to now. Here are the most important changes but they are not complete yet:
https://github.com/aimeos/aimeos-docs/b ... /2021.x.md
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
AhmadHelali
Posts: 7
Joined: 22 Feb 2023, 15:25

Re: change direction-right to left

Post by AhmadHelali » 06 Mar 2023, 16:29

aimeos wrote: 09 Mar 2021, 18:05 The new Aimeos admin backend is optimized for RTL languages:
admin-rtl.png

The Aimeos versions 2020.10 and before use Bootstrap 4 which doesn't support RTL languages well. You can try to add the CSS rule

Code: Select all

direction: rtl
to the root HTML element but that will only do half of the job.
But the Client interface does not change the direction to RTL (the front not the admin)

Post Reply