Last active
January 8, 2021 07:21
-
-
Save shubham-99fusion/cd30fa46d47256cca3ac014abdaf3ebd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Calendar part can only be translate using locale language code like 'en' for English , 'zh' for chineese | |
| Refer this doc to get language language code:: https://www.w3schools.com/tags/ref_language_codes.asp | |
| To translate calendar using the custom filter in your customizer or child theme code.Add the billow code. | |
| //code starts | |
| add_filter('vibefullcalendar_locale_languageCode',function($lan_code){ | |
| return 'zh'; // your language code from https://www.w3schools.com/tags/ref_language_codes.asp | |
| },10,1); | |
| //code ends | |
| Important Note:: Some language code can not be work as it is part of fullcalendar.io. | |
| Working video:: http://somup.com/cYl66r2tsm | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment