Why is RTL class user dependent instead of locale?

It looks like locale is simply a string, not an object. Hence we can’t attach properties to it. However, there are other ways to specify the direction. One is to add a direction or rtl? attribute in the config/locales/names.yml file. Another possibility is to define rtl? method in a place from where it can be called from any part of the application.