Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • litesvcs Friend
    #1054780

    Hello, I would like to translate the User Gallery Module. Where can i find and translate VIEW ALL Button in User Gallery. ?


    1. Screenshot_4
    Saguaros Moderator
    #1054881

    Hi,

    You can open the file: [root]/templates/ja_hotel/acm/gallery/tmpl/list.php

    Look for the line of code which has View All text:

    <?php if($section_link): ?><a href="<?php echo $section_link; ?>" class="btn btn-border">View all</a><?php endif; ?>

    change it to:

    <?php if($section_link): ?><a href="<?php echo $section_link; ?>" class="btn btn-border"><?php echo JText::_('TPL_VIEW_ALL'); ?></a><?php endif; ?>

    Then define the language text in language file of template on your site:

    TPL_VIEW_ALL                    = "View all"

    If you’re using English, it will be the file: [root]/language/en-GB/en-GB.tpl_ja_hotel.ini

    Regards

    litesvcs Friend
    #1054895

    Hi,

    Thank you for the information. I want to have 2 languages EN and RU for website. The Russian should be at : [root]/language/ru-RU/ru-RU.tpl_ja_hotel.ini ?

    Thank you

    Saguaros Moderator
    #1054899

    That’s right!

    litesvcs Friend
    #1054911

    Hi, How to translate VIEW ALL for newly created ACM module "Featured Tours and Activities" and "Top Places" ? Would all acm automatically changed?

    Saguaros Moderator
    #1054932

    Kindly check in backend of your site and see which type of ACM module you’re using for ‘Top Places’ and Featured Tours and Activities modules, then you apply the same solution as above.

    For example with ‘Top Places’ module, it’s JA ACM – Magazine – Featured News : Grid type, you open this file: [root]/templates/ja_hotel/acm/news-featured/tmpl/grid.php and change the text View All as above.

    litesvcs Friend
    #1055474
    This reply has been marked as private.
    Saguaros Moderator
    #1055481

    You can create that file if it doesn’t exist and add your translated text there.

    litesvcs Friend
    #1055656

    Hi,

    How to translate also the word "Photos" ? in the same Module User Gallery?


    1. Screenshot_8
    litesvcs Friend
    #1055665

    Hi,

    Also i would like to know where can i find string to translate "Read More" at "Featured Hotels: The button was originally named by default "BOOK NOW" and we renamed it to "Read More" where can we translate it to Russian?


    1. Screenshot_9
    Saguaros Moderator
    #1055775

    Hi,

    Kindly check the translated text for English: [root]/language/en-GB/en-GB.tpl_ja_hotel.ini

    and see how the text is translated and copy that text to language file of Russian.

    For example, with the ‘Photos’ text, you can see it’s defined in ‘en-GB.tpl_ja_hotel.ini’

    TPL_NUMBER_PHOTOS_OF_SLIDESHOW  ="%d Photos"

    copy this to ru-RU.tpl_ja_hotel.ini

    TPL_NUMBER_PHOTOS_OF_SLIDESHOW  ="%d Your-own-text-here"

    With the ‘Readmore’ in Featured Hotel module (Book Now text in original), you can open the file: [root]/templates/ja_hotel/acm/solidres/tmpl/style-1.php

    Look for the line of code which you already changed the text from Book now to Readmore:

    <a href="<?php echo $link; ?>" class="btn btn-default"><span>Book now</span></a>

    and change it to:

    <a href="<?php echo $link; ?>" class="btn btn-default"><span><?php echo JText::_('TPL_READ_MORE'); ?></span></a>

    and do the same as above.

    litesvcs Friend
    #1055855

    Hi,

    Everything is working fine. Thank you for the details explanation.

    I have something else which remain to be translated. Can you help on that? I need to translate "Room Choices"

    Thank you


    1. Screenshot_11
    Saguaros Moderator
    #1056436

    Hi,

    How can I have that text show? I don’t see in our demo site: http://ja-hotel.demo.joomlart.com/index.php/en/hotels

    litesvcs Friend
    #1056459

    Hi,
    It is "Room & Rates" which was renamed Room Choices
    Thank you

    litesvcs Friend
    #1056792

    Hello,
    Apart from the issue mentioned above, i have problem with Tags. Can bot be translated and assign to Russian Language. I have tried different ways but with no success. Shall i open onother ticket for that.
    Regards

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

This topic contains 15 replies, has 2 voices, and was last updated by  Saguaros 7 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum