-
AuthorPosts
-
August 9, 2017 at 3:42 pm #1054780
Hello, I would like to translate the User Gallery Module. Where can i find and translate VIEW ALL Button in User Gallery. ?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 10, 2017 at 4:57 am #1054881Hi,
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
August 10, 2017 at 6:20 am #1054895Hi,
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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 10, 2017 at 6:37 am #1054899That’s right!
August 10, 2017 at 6:53 am #1054911Hi, How to translate VIEW ALL for newly created ACM module "Featured Tours and Activities" and "Top Places" ? Would all acm automatically changed?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 10, 2017 at 7:30 am #1054932Kindly 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.
August 10, 2017 at 8:58 am #1055474This reply has been marked as private.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 10, 2017 at 9:06 am #1055481You can create that file if it doesn’t exist and add your translated text there.
August 10, 2017 at 12:25 pm #1055656August 10, 2017 at 1:31 pm #1055665Hi,
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?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 11, 2017 at 3:34 am #1055775Hi,
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.
August 11, 2017 at 8:19 am #1055855Hi,
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
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 15, 2017 at 3:35 am #1056436Hi,
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
August 15, 2017 at 4:57 am #1056459Hi,
It is "Room & Rates" which was renamed Room Choices
Thank youAugust 16, 2017 at 12:10 pm #1056792Hello,
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.
RegardsAuthorPostsThis 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
Jump to forum