Documentation
- Getting started
- Basic settings
- Pro settings
- Product settings
- Manage bookings
- Localization
- Snippets
- Action and filter hooks
- Third-party plugins
Calendar translation
The calendar should be automatically translated. Over 40 languages are available.
It can happen that some words are missing, most of the time the “Close” button. Here’s how to fix it:
- In woocommerce-easy-booking-system/assets/js/translations/
- Find the file corresponding to your website’s language (for example fr_FR.js for French)
- Add the missing translation.
This is an example of a complete file for en_GB (english) language:
jQuery.extend( jQuery.fn.pickadate.defaults,{ monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"], monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"], weekdaysFull:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"], weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"], today:"Today", clear:"Clear", close:"Close", format:"d mmmm, yyyy", labelMonthNext:"Next month", labelMonthPrev:"Previous month", labelMonthSelect:"Select a month", labelYearSelect:"Select a year", firstDay:parseInt(params.first_day),formatSubmit:"yyyy-mm-dd" } );
If you are not familiar with Javascript or not sure what to do, please send an email.