AdminLTE icon indicating copy to clipboard operation
AdminLTE copied to clipboard

Official RTL Support

Open ibrahim-sys opened this issue 7 years ago • 11 comments

AdminLTE Version: 4

ibrahim-sys avatar Sep 02 '19 06:09 ibrahim-sys

I'll add this with my next PR, but I need help with testing it to get a clean result for the stable release.

REJack avatar Sep 03 '19 09:09 REJack

I've checked how to accomplish RTL for AdminLTE and it's quite hard work and I'll move this feature to v3.1.0 release, but if someone create PR for RTL support till I release the stable of v3.0.0 then I will release v3.0.0 with RTL support.

REJack avatar Sep 09 '19 13:09 REJack

I'm ready to be testing this feature.

ibrahim-sys avatar Sep 09 '19 13:09 ibrahim-sys

I checked bootstrap 4 but it self has no RTL support, we need a RTL version of bootstrap 4 for this.

REJack avatar Sep 09 '19 13:09 REJack

In fact, there are many geeks out there that developed an RTL version of Bootstrap 4. I can mention:

  1. https://bootstrap.rtlcss.com/
  2. https://github.com/MahdiMajidzadeh/bootstrap-v4-rtl
  3. https://github.com/PerseusTheGreat/bootstrap-4-rtl

Bootstrap team never launched an official RTL support, so we can't depend on an official version actually.

ibrahim-sys avatar Sep 09 '19 19:09 ibrahim-sys

How is it working with RTL issue, any update!

arabiancoder avatar Oct 23 '19 14:10 arabiancoder

In fact, there are many geeks out there that developed an RTL version of Bootstrap 4. I can mention:

1. https://bootstrap.rtlcss.com/

2. https://github.com/MahdiMajidzadeh/bootstrap-v4-rtl

3. https://github.com/PerseusTheGreat/bootstrap-4-rtl

Bootstrap team never launched an official RTL support, so we can't depend on an official version actually.

@REJack I don't suggest using https://github.com/MahdiMajidzadeh/bootstrap-v4-rtl, it needs adding rtl class to any element. I've tested this library and believe me even after adding many rtl classes you won't get the correct and expected result. Use the other two rtl versions that @ibrahim-sys suggested. They only thing they need is to add <html ... dir="rtl" ... > to print the page in rtl correctly.

ni-fara avatar Dec 03 '19 11:12 ni-fara

Here is an RTL version of AdminLTE, maybe worth checking:

https://github.com/Hesammousavi/PersianAdminLTE

hatami57 avatar Jan 11 '20 18:01 hatami57

I move this issue to AdminLTE v4 since bootstrap v5 comes with an official RTL support.

REJack avatar Sep 24 '20 07:09 REJack

the bootstrap 5.0 stable is release with an official RTL support.

muhanadali100 avatar May 07 '21 08:05 muhanadali100

Done in https://github.com/ColorlibHQ/AdminLTE/tree/v4-dev

danny007in avatar May 09 '21 19:05 danny007in