Change Language

  • Support OnlineSat-Thu / 9:30am - 5:30pm (GMT +6)
  • Your Time Our Time

Support Home Support Home QuickFix HTML Template Change Language

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1862
    Norberto Duarte
    Participant

    Hi,

    It is possible change the language in appoinment section – Date and time to Portuguese.

    Exemple:

    Date -> July -> Julho (Portuguese)

    Time -> 9am or 9 pm -> 9h or 21h (24h Format)

    best regards

    #1864

    Hi Norberto,

    If you wish to change the datepicker language, follow the steps below:

    First,
    1. Download the language file datepicker-pt.js form here: https://github.com/jquery/jquery-ui/tree/master/ui/i18n
    2. Add it to the html page after jQuery UI: (Screenshot: http://prntscr.com/fxmdwm)

    Second,
    1. Open main.js file
    2. Find the comment DATE
    3. On line number 248 add this code: (Screenshot: http://prntscr.com/fxmb52)
    $.datepicker.setDefaults( $.datepicker.regional[ 'pt' ] );

    [Reference: https://api.jqueryui.com/datepicker/#utility-noWeekends%5D

    If you wish to change the timepicker language, follow the steps below:

    1. Open ‘main.js’ file
    2. Find the comment ‘TIME’
    3. On line number 260 add below code: (Screenshot: http://prntscr.com/fxwphd)
    $time.timepicker({ timeFormat: 'H \\hour', step: 60 });

    [Reference: http://jonthornton.github.io/jquery-timepicker/%5D

    Best Regards,
    ThemeLooks Support Team

    #1865
    Norberto Duarte
    Participant

    Hi thanks for your help.

    One more question, why after this update:
    $time.timepicker({ timeFormat: ‘H \\hour’ });

    The time looks
    00 hour
    00 hour
    01 hour
    01 hour

    And not
    00.00 hour
    00.30 hour

    Or other way, Can i do just this:
    00 hour
    01 hour
    02 hour

    thanks

    #1869

    Please add an step option of 60 minutes, use below code: (http://prntscr.com/fxwouf)
    $time.timepicker({ timeFormat: 'H \\hour', step: 60 });

    Please don’t forget to give us ‘rating and review’ (on https://themeforest.net/downloads ), if you like our template and our support too. It will make us more ‘happy’ to support.

    Best Regards,
    ThemeLooks Support Team

    #1871
    Norberto Duarte
    Participant

    OK thanks for all.

    Alredy give you a rating and review.

    your themes and support are fantastic.

    Best Regards

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
happy hour