nitrotasks / nitro

The beautiful way to get things done.
https://nitrotasks.com
GNU Affero General Public License v3.0
517 stars 65 forks source link

Support for Persian (Jalali) Calendar #9

Open hoorzad opened 12 years ago

hoorzad commented 12 years ago

I want to add a Persian localization to Nitro. For a calendar app to be useful in my country, it should have the following characteristics:

  1. Persian user interface
  2. right-to left layout
  3. Jalali calendar

I have finished the first one. The second one is a matter of making a new theme and changing CSS files. But the third one is not that simple. The problem is that apparently jQuery UI calendar i18n works only with Gregorian calendar. So even after adding localization file, it shows the date like 12 Tir 2012 [1]. It's 24 Farvardin1391 in here, not 2012.

I found this useful plugin and this article about the subject.

I suggest that you add it to your app, so Nitro will be usable by billions of people who don't use Gregorian calendar.

[1] Because Tir is the 4th month in Persian calendar.

consindo commented 12 years ago

Thanks. We've also got an Arabic translation so we'll make a right to left layout. We use the jQuery UI datepicker and hopefully there's a way to localize it.

consindo commented 12 years ago

Finally got around to creating a right to left layout.