#291

Product support

Get help in the plugin support forum.

Categories

  • Miscellaneous
  • Utility

Persian language support for October CMS plugin

  • Persian URLs
  • Right to left backend layout
  • Jalali calendar in backend
  • Twig markup for flipping css and convert dates to Jalali in front-end
jalali date in dashboard

How to use this plugin

Just install it, and it and change backend language to Persian.

use flipCss filter in theme to flipping css in the front-end, for example:

<link href="{{['assets/css/bootstrap.min.css','assets/css/style.css']|flipCss|theme}}" rel="stylesheet">
<link rel="stylesheet" type="text/css" id="color" href="{{'assets/css/colors/default.css'|flipCss}}"/>

flipCss must be used before the theme filter.

use pDate filter in theme for convert date to Jalali :

{{'2016/12/31'|pDate}}
or
{{'2016/12/31'|pDate('y M D')}}

by Sajjad Servatjoo & Saman Sorushniya

1.0.1

First version of Persian

Dec 31, 2016