[BUG] RTL style is not working

I am developing with frappe v15,
when i switch the desk to rtl language same as (arabic) the rtl direction attribute set in the html tag and the rtl style assets loaded successfully into browser but STILL the UI looks ruined (mixing between rtl & ltr direction style)!!!

the solution was:

  1. bench build
  2. bench clear-cache
  3. bench clear-website-cache
  4. bench restart
    if not works then:
  5. delete the assets/ folder in sites/

the solution works but why this bug happens at the beginning!!!

1 Like

Arabic RTL itself is probably not the problem. Frappe correctly sets dir="rtl" and loads RTL assets.
The issue is usually stale or inconsistent compiled/cached CSS/JS assets.
frappe uses generated assets under sites/assets/, and sometimes those assets don’t match the current Frappe/app/custom CSS state.
Deleting sites/assets/ works because it forces Frappe to regenerate the assets from scratch.

1 Like