Today, I want to share with you my latest work; I modified and set the Casper template to fully support right-to-left orientation just as it accepts adding any language via locales. This is useful if you write in a language like Arabic or Hebrew, Persian, for example, and you want your visitors to view the articles and the blog in the right direction.
Easily add your language by editing the locale file and translating the sentences, and your site will become RTL.
Go to the Design section of your Dashboard and upload the file & activate the theme.
On the mobile screen:
How add your language?
Ghost’s front-end and themes are fully translatable by enabling a publication language in the setting in Ghost admin and using the translate helper to wrap around any plain text in your theme. Inside the locales folder, add target language files for each translatable language used on your site. For example, locales/ar.json for Arabic and locales/fa.json for Persian (Farsi), according to A valid language code, must be used.
You can't perform that action at this time. You signed in with another tab or window. You signed out in another tab or…
The template supports the Arabic language pre-installed
You can contribute to translating the template into your language, make a fork for the template and add your language.
That’s it for today, and I hope you find this useful
If you need help with RTL support or anything about Arabic lang, you can contact me at my email: email@example.com.