Closed danialbehzadi closed 4 years ago
Odd, FullCalendar seems to have Persian locale (fa
) support.
Could you open the calendar app, tab F12
or Ctrl
+ Maj
+ k
to open the web browser console, enter moment.locale();
and see what's the result ?
moment.locale();
"fa"
I have the same problem for Arabic locales on NC 15.0.x & NC 16 - multiple installations, same on Firefox 66.x, 67 & Chrome 74.x. on various Linux distros. incl. Ubuntu/Debian/Fedora It's actual a deal breaker for 2 clients! Edit: On further troubleshooting, if I change the language to Arabic but keep the locale to a English locale - the calendar is viewable but with English weekdays/numbers/start of week
I checked with Nextcloud 16 and have same problem in Persian and Arabic, I checked in browser console the moment.locale() and it is fa for persian but no calendar view, so please check this bug it is from 23 apr till now but no action is done,
Are there any updates regarding Arabic region calendar display?
I have narrowed the problem down a bit if it helps. The calendar only doesn't display if the first day of the week for the region is Saturday. ( سبت) If the RTL region has a different weekday start that will appear on the first column from the right such as Algeria ( the first day is Sunday there) - the calendar displays. Even if the first day of the week is Saturday but the calendar displays the weekend first (Thursday/Friday) in the right hand column such as Morrocco - it displays.
Most Arabic countries have Saturday as the first day of the week & that would appear in the right hand column usually and in this case the calendar does not display.
As the Calendar is a core app - this remains a big blocker for Arabic country use of Nextcloud. I have many clients that have put Nextcloud projects on hold because of this.
Please let me know if I can be of any help.
I have narrowed the problem down a bit if it helps. The calendar only doesn't display if the first day of the week for the region is Saturday. ( سبت) If the RTL region has a different weekday start that will appear on the first column from the right such as Algeria ( the first day is Sunday there) - the calendar displays. Even if the first day of the week is Saturday but the calendar displays the weekend first (Thursday/Friday) in the right hand column such as Morrocco - it displays.
This should already properly handled if you select the correct locale in your personal settings. Otherwise create a new ticket for that please.
As the Calendar is a core app - this remains a big blocker for Arabic country use of Nextcloud. I have many clients that have put Nextcloud projects on hold because of this.
Please let me know if I can be of any help.
Pull-requests are always very welcome!
I have narrowed the problem down a bit if it helps. The calendar only doesn't display if the first day of the week for the region is Saturday. ( سبت) If the RTL region has a different weekday start that will appear on the first column from the right such as Algeria ( the first day is Sunday there) - the calendar displays. Even if the first day of the week is Saturday but the calendar displays the weekend first (Thursday/Friday) in the right hand column such as Morrocco - it displays.
This should already properly handled if you select the correct locale in your personal settings. Otherwise create a new ticket for that please.
It is the same problem Georgehrke. What I am saying is; the cause of the non-display of the calendar is choosing any locale that is coded to display the first column of days in the week from the right in RTL to be Saturday or سبت in Arabic. The issue is not that it is not displaying because of RTL. Other RTL locales that do not start with Saturday such as Arabic (Morroco) or Hebrew display the calendar.
It is the same problem as the original post as far as I can see.
Pull-requests are always very welcome!
Unfortunately I'm not a coder but I'm more than happy to apply any patches provided to test!
I'm not exactly sure whether this is a bug in Nextcloud itself or upstream in full calendar. There is a ticket that seems related: https://github.com/fullcalendar/fullcalendar/issues/1813
Someone said in the comments that fullcalendar 4 seems to support it: https://github.com/fullcalendar/fullcalendar/issues/4397#issuecomment-443495352
We are currently updating to full calendar 4 in #926
This was indeed fixed by updating to FullCalendar 4, works as expected in Calendar 2.0:
Closing.
I fixed it in Version 2.0.3
https://github.com/dev-am1/calendar2.0.3_Builded_READY_TO_USE_Shamsi
I fixed it in Version 2.0.3
https://github.com/dev-am1/calendar2.0.3_Builded_READY_TO_USE_Shamsi
Would you kindly instruct how to get this thing added to my nextcloud, i'm pretty new.
I fixed it in Version 2.0.3
https://github.com/dev-am1/calendar2.0.3_Builded_READY_TO_USE_Shamsi
Would you kindly instruct how to get this thing added to my nextcloud, i'm pretty new.
you can read the instructions in my github and for further aid you can contact me through my email address.
Steps to reproduce
Expected behaviour
To see calendar view
Actual behaviour
No calendar view
Server configuration
Operating system: Debian GNU/Linux buster/sid
Web server: Apache
Database: Mariadb
PHP version: 7.3
Server version: (see your admin page) 15.0.7
Calendar version: (see the apps page) 1.6.4
Updated from an older installed version or fresh install: Updated
Signing status (ownCloud/Nextcloud 9.0 and above): No errors have been found.
List of activated apps:
Nextcloud configuration:
Are you using external storage, if yes which one: local/smb/sftp/... No
Are you using encryption: yes/no No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... No
Client configuration
Browser: Firefox 66.0.3
Operating system: Ubuntu 19.04
CalDAV-clients: Webapp
Logs
Web server error log
Log file (data/nextcloud.log)
Browser log