How to use Bootstrap 5 (RTL or LTR) based on Locale on a multilingual website?

  bootstrap-5, laravel, locale

I am planning to develop a multilingual website by Laravel 8 and Bootstrap 5. As you know, Bootstrap in version 5 has an LTR version and an RTL version. How to use the LTR version of Bootstrap when the language of the website is left to right (for example, English) and the RTL version of Bootstrap when the language of the website is right to left (for example, Persian or Arabic)?

Is it possible if I want to do this in Laravel mix?

Source: Laravel

Leave a Reply