nextcloud / calendar

📆 Calendar app for Nextcloud
https://apps.nextcloud.com/apps/calendar
GNU Affero General Public License v3.0
977 stars 240 forks source link

jalali Calendar not show the month in persian #2270

Open nimaam opened 4 years ago

nimaam commented 4 years ago

Dear All As I found out in full calendar 4.x when you set the locale to fa and import fa.js the calendar will show you the month in Persian, but in Nextcloud I changed both the local and language to Persian but still show the month in hole system (calendar, date picker, time in setting) in Georgian. So I search and can not find the problem.

georgehrke commented 4 years ago

please use the issue template as described in our contributing guidelines

Unless you fill out the issue template completely including all logs, we can't go ahead and help you.

nimaam commented 4 years ago

Dear George It is good that we didn't find any error you can check it in your installed nextcloud change the language and local to Persian and you should see th month be اردیبهشت now but it say می, the اردیبهشت is the month of Jalali (shamsi) but the می is may the Georgian month. So please help me and tell me the exact log file I will send to you.

georgehrke commented 4 years ago

You can omit the log, but please fell everything else. Config, reproduction steps, expected behavior, actual behavior, ...

nimaam commented 4 years ago

Ok I will make all these and send here the informations needed, but this problem is more obvious than need these things

no-response[bot] commented 4 years ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

HKalbasi commented 4 years ago

@georgehrke It does not depend on nextcloud version or another configs. Just set your locale to Persian (fa_IR) and open the calender app. You will see that day in month does not start from 1, because there are English months in Persian calendar.

Please reopen the issue.

georgehrke commented 4 years ago

Are you saying that the calendar is not correctly translated or is it that we only support the Gregorian calendar at the moment?

HKalbasi commented 4 years ago

I think this screen shot explain better:

nextcloud-bug

The month is October 2020 and it start from 10, because 1 October equals to 10 Mehr. It should start from 1 and show "Mehr 1399" instread of "October 2020".

georgehrke commented 4 years ago

Okay, so you would like to have support for calendaring systems other than the Gregorian calendar.

Here is an upstream issue in the FullCalendar Lib we are using: https://github.com/fullcalendar/fullcalendar/issues/1813

nimaam commented 4 years ago

The calendar is supported now in fullcalendar 4 but now is not shown what is supported in fullcalendar in your nextcloud calendar app

georgehrke commented 4 years ago

@nimaam Can you please link the upstream ticket?

The one i referenced above about jalaali date system support is still open: https://github.com/fullcalendar/fullcalendar/issues/1813

HKalbasi commented 4 years ago

It's still a work in progress, but in full calendar demo the month is شهریور ۱۳۹۹ - مهر ۱۳۹۹ instead of september 2020 which is better and I think can make work easier when upstream issue is solved.

dev-am1 commented 3 years ago

I fixed it in version 2.0.3

https://github.com/dev-am1/calendar2.0.3_Builded_READY_TO_USE_Shamsi

okaeiz commented 2 years ago

I fixed it in version 2.0.3

https://github.com/dev-am1/calendar2.0.3_Builded_READY_TO_USE_Shamsi

how can we make the interface persian using this document?

dev-am1 commented 2 years ago

the whole interface has been changed to persian already. just use nc19 with this calendar.

On Wed, Mar 2, 2022 at 2:20 PM okaeiz @.***> wrote:

I fixed it in version 2.0.3

https://github.com/dev-am1/calendar2.0.3_Builded_READY_TO_USE_Shamsi

how can we make the interface persian using this document?

— Reply to this email directly, view it on GitHub https://github.com/nextcloud/calendar/issues/2270#issuecomment-1056784526, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOHNA5OFVONFFYKP7SP3KYTU55BV5ANCNFSM4NDC37KA . You are receiving this because you commented.Message ID: @.***>

mokazemi commented 1 year ago

Any progress on this?