HomePage Forums Traveler Translate

This topic contains 32 replies, has 2 voices, and was last updated by  Bryan 3 years, 11 months ago.

Viewing 15 posts - 1 through 15 (of 33 total)
  • Author
    Posts
  • #4574

    Hi,

    How to translate the tagged word and put the date in dd/mm/yy

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #4637

    Hello

    You can use Poedit to translate some special words in site:

    Manual Translation

    Also you can change the date format in Traveler Settings > Advance Options.

    Thanks

    #4690
    This reply has been marked as private.
    #4757

    Hello

    In your image, what exactly word you want to translate so i can help you check and fix it if there are have problem.

    Thanks

    #4799

    Just you see the image with detail and will read what is in Portuguese or what is in English and marked with cubic, is simple. Read the beginning of the email. See details, please.

    #4803

    Hi,

    The problem is in the /st_templates/user/loop/loop-wishlist.php file on line 77

    <span class=”booking-item-wishlist-title”>
    <?php echo balanceTags($icon_type) ?>
    <?php echo esc_html(mb_convert_case(str_ireplace(“st_”,””,$data[‘type’]), MB_CASE_TITLE, “UTF-8”)) ?>
    <span><?php st_the_language(“added_on”) ?> <?php echo esc_html($data[‘date’]) ?></span>
    </span>`

    The problem is in the /st_templates/user/loop/loop-wishlist.php file on line 77

    being that all the dates of the system are correct in Portuguese dd/mm/yy

    The word “Activity” has not been translated, like the rest of the system. This word is already included in the file pt_BR.po, exactly as it is on the screen.

    #4890

    Hello

    My image will show you the way to fix it.

    <?php 
                        switch ($data['type']) {
                            case 'st_hotel':
                                echo __('Hotel', ST_TEXTDOMAIN);
                                break;
                            case 'st_rental':
                                echo __('Rental', ST_TEXTDOMAIN);
                                break;
                            case 'st_tours':
                                echo __('Tours', ST_TEXTDOMAIN);
                                break;
                            case 'st_activity':
                                echo __('Activity', ST_TEXTDOMAIN);
                                break;
                            case 'st_ca':
                                echo __('Cars', ST_TEXTDOMAIN);
                                break;
                            default:
                                <?php echo esc_html(mb_convert_case(str_ireplace("st_","",$data['type']), MB_CASE_TITLE, "UTF-8")) ?>
                                break;
                        }
                    ?>

    THanks

    Attachments:
    You must be logged in to view attached files.
    #4955
    This reply has been marked as private.
    #4956
    This reply has been marked as private.
    #5008

    Hello

    Please remove this code from default section then check again.

    <?php echo esc_html(mb_convert_case(str_ireplace("st_","",$data['type']), MB_CASE_TITLE, "UTF-8")) ?>

    Also the date can not be change to other format.

    Thanks

    #5087
    This reply has been marked as private.
    #5154

    Hello

    You can remove that code line from the code i send to you to make it work property.

    I have created a task to update it in next theme version.

    Thanks

    #5359
    This reply has been marked as private.
    #5439

    You can change date style in Settings > General > Date Format section.

    Thanks

    #5628

    Hi,

    As I said before, ALL DATES ARE FORMATTED according to the Portuguese language and configured correctly.

    Only this date is out of standards.

    Thanks

Viewing 15 posts - 1 through 15 (of 33 total)

The forum ‘Traveler’ is closed to new topics and replies.