Hello @ngthanhdo,
First of all thank you very much for using the WP Travel plugin.
To change the language of a calendar to English even if the site language is different you have activated the child theme.
Please refer to below given link to know how you can create the child theme:
https://wptravel.io/how-to-create-a-child-theme/
After activating the child theme, you need to go to functions.php of your child theme and enqueue the script and add the function.
In the child’s theme functions.php file where you enqueue the parent theme style, just add below given code.
wp_enqueue_script( 'adpkr-en-lang', 'https://cdnjs.cloudflare.com/ajax/libs/air-datepicker/2.2.3/js/i18n/datepicker.en.min.js', array('jquery','jquery-datepicker-lib'), '', false );
}
Also, add below given block of code in the file at the button.
function wp_travel_customize_frontend_vars( $vars ) {
$vars['locale'] = 'en';
return $vars;
}
add_filter( 'wp_travel_js_frontend_vars', 'wp_travel_customize_frontend_vars', 99 );
Screenshot:
https://prnt.sc/kd7tqm
Hope this helps.
Further, if you have any issues then please post them directly in our official support forum given below:
https://wptravel.io/support-forum/forum/wp-travel/
Thank you.
Best Regards!!