What is the proper way to load an extra CSS file?
Goudarz opened this issue · 5 comments
Goudarz commented
I am working on translation to Persian, which is Right-to-left language. For that, I need to customize the CSS to load the pages in the proper format.
iliakan commented
Let me add it for you, as an example. What is needed and where?
Goudarz commented
I want to put the rtl.css
file in the head
tag.
iliakan commented
- Will your
rtl.css
also work for Arabic? Or it's Persian only? - Can it be in Stylus (preprocessor) format?
rtl.styl
Goudarz commented
- Works for all RTL Direction languages: Persian, Arabic, Hebrew , etc.
- Yes, I can.
iliakan commented
I added rtl.styl
for fa
language.
But it requires the server language to exist.
You need fa.yml
at the same places where en.yml
exists, and then ./edit fa fa
to run the server in Persian.