Datepicker

Closed
Travelo - Travel/Tour/Car Rental/Cruise Booking WordPress Theme Travelo - Travel/Tour/Car Rental/Cruise Booking WordPress Theme April 15, 2020
Login to reply
Hugo Moreis
4 years ago

Ok, thanks

Kelly R Support Agent
4 years ago

It is default in Travelo theme.

Hugo Moreis
4 years ago

Ok! Thanks!

Final question in this ticket, i promise:

I'm starting to use the new calendar for the reservations and it looks awsome. But I was wondering if there's a chance to show the actual days of the month (in five rows maybe) instead of the 42 days it shows now. Cos it's a bit confusing when someone is trying to make a reservation the last days of the month (cos you see the days being selected in the two columns at the same time). Can I change it? Or perhaps use the standard version of the calendar itself? Thanks again for everything

Kelly R Support Agent
4 years ago

Hi,

You are using modern style and it has hamburger menu as default.

If screen is bigger than 1700px, you will see general menu.

Best regards,

Hugo Moreis
4 years ago

Sorry, the password Is podas


It's ok Kelly. I figured out my question about the translation issue . But I do still need your help about the issue number 2 though with the hamburguer menu. thanks again!

Kelly R Support Agent
4 years ago

Please give me your website password.

Let me check your website.

Hugo Moreis
4 years ago

1) Let me explain a bit longer here. I made a translation to spanish for the hole site with poedit. But, the word "disappointed" that's in the accomodation page (in the review form) is still in English and I cant figure out why. 

and one more question please...

2) Also... I don't know why I'm getting a hamburguer menu even though I've chosen Header 6 (which came with a regular menu) would it be something I missed? Cos I need a regular menu here


URL: http://turismo.sadop.org/accommodation/hotel-baron-del-1000/

Kelly R Support Agent
4 years ago

Hi,

1. I did not understand the issue. Please send me your website url and explain me the issue.

2. Please replace /wp-content/themes/Travelo/inc/frontend/accommodation/modern.php with attached and try again.

Best regards,

Hugo Moreis
4 years ago

Thank you! it worked! but I have 2 more problems:


1) in the accommodation page, in review form, the word disappointed continues in English despite the translation I made. How can I translate it?

2 )the maximum number of guests and children in each room does not coincide with the maximum number of guests and children that you configured in the room type section (attacment)

Kelly R Support Agent
4 years ago

Hi,

Please minify scripts.js file and save it to scripts.min.js in the same directory.

Or please give me your website url and ftp information. I will help you do it.

Best regards,

Hugo Moreis
4 years ago

Hi!

I made the changes and translations and it doesn't work.

I made the changes in /wp-content/themes/Travelo/js/modern/scripts.js file

in line 144, 756 and line 888. 

I attach my scripts.js file

Thanks!

Kelly R Support Agent
4 years ago

Hi,

Please find following code in /wp-content/themes/Travelo/js/modern/scripts.js file.

locale: {

format: date_format,//'YYYY-MM-DD',
separator: ' - ',
}

You can find the code in 2 places.

And change to following code.

locale: {

format: date_format,//'YYYY-MM-DD',
separator: ' - ',
 "daysOfWeek": [
            "Su",
            "Mo",
            "Tu",
            "We",
            "Th",
            "Fr",
            "Sa"
        ],
        "monthNames": [
            "January",
            "February",
            "March",
            "April",
            "May",
            "June",
            "July",
            "August",
            "September",
            "October",
            "November",
            "December"
        ],
}

Best regards,

Hugo Moreis
4 years ago

Hi!

Could you tell me where can I find the datepicker file to translate it ?

Thanks!