Search code examples
jquerydatedatepickercalendarpersian

how can I use 2 languages of datepicker same time


I have a datepicker jquery ui plugin. my default language is Persian. but I want 2 use 2 languages in datepicker same time. it means that I want to show calendar in Persian language as default, but I can switch to Gregorian calendar by click on a button and calendar change from Persian calendar to Gregorian calendar.

how can I do this?


Solution

  • I suggest you to use this library it has a full documentation and very stable which allows you to create a multilingual calendar,I hope it helps you.

    here you can see demos and examples