-
AuthorPosts
-
7of9 Friend
7of9
- Join date:
- December 2010
- Posts:
- 579
- Downloads:
- 81
- Uploads:
- 66
- Thanks:
- 162
- Thanked:
- 25 times in 3 posts
July 30, 2013 at 3:20 pm #189345Hi,
I have successfully installed Greek and English and I am translating everything to English, using Falang.
However, when I try to translate the text of the slides in slideshow, I don’t see any options there.The site is http://www.allmassage.gr
Please advice.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 31, 2013 at 3:25 am #500692Hi
As I can see, the text in slideshow is in Greek already, which text do you want to translate?
7of9 Friend7of9
- Join date:
- December 2010
- Posts:
- 579
- Downloads:
- 81
- Uploads:
- 66
- Thanks:
- 162
- Thanked:
- 25 times in 3 posts
July 31, 2013 at 9:52 am #500747Hi Saguaros,
If you switch in English (the primary language is Greek), you will see that the text is still in Greek. I was unable to translate it in English.
7of9 Friend7of9
- Join date:
- December 2010
- Posts:
- 579
- Downloads:
- 81
- Uploads:
- 66
- Thanks:
- 162
- Thanked:
- 25 times in 3 posts
July 31, 2013 at 10:07 am #500751Another thing I cannot find to translate is the text “View Category” in the category and “Details” in product.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 1, 2013 at 10:32 am #500881Hi again,
1. With the slideshow, I think you should duplicate this slideshow module so that you can have 2 slideshow modules in your site for each language separately. The text in added directly in description of slideshow so that you can’t translate in language file as normal way.
2. For the ‘View category text’:
– You can open file: /templates/ja_your_template_name/html/com_virtuemart/categories/default.php, at approx line 80, you will see this snippet of code:
<a href="<?php echo $caturl ?>" title="<?php echo $category->category_name ?>" class="category-view-link">View Category</a>
change it to:
<a href="<?php echo $caturl ?>" title="<?php echo $category->category_name ?>" class="category-view-link"><?php echo JText::_ ('JA_View_Category'); ?></a>
– Then open language file of template, for example, with English, you open file: /languages/en-GB/en-GB.tpl_ja_hawkstore.ini
add this text field:
JA_VIEW_CATEGORY =”View Category“ <<<< change to your own text
JA_PRODUCT_DETAILS =”details“ <<<< change Details text in product here
1 user says Thank You to Saguaros for this useful post
7of9 Friend7of9
- Join date:
- December 2010
- Posts:
- 579
- Downloads:
- 81
- Uploads:
- 66
- Thanks:
- 162
- Thanked:
- 25 times in 3 posts
August 1, 2013 at 10:37 am #500883Hi Saguaros,
Thanks for the help with the VM text.
About the module duplication, I don’t know if it will work, because this is not how falang works. Falang is a fork of Joomfish and does not require double modules, but only an xml to define the translated text. The thing is I don’t know how to create this for JA Slideshow. I will however try your approach and let you know.
7of9 Friend7of9
- Join date:
- December 2010
- Posts:
- 579
- Downloads:
- 81
- Uploads:
- 66
- Thanks:
- 162
- Thanked:
- 25 times in 3 posts
August 1, 2013 at 2:24 pm #500913Update: Saguaros, your approach works 100%. Even though Falang still takes care of the rest, your way takes care of the slideshow. However, it would be a good idea to make the Falang xml some time, because Falang’s approach saves a lot of time and duplicates.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
blankito Friendblankito
- Join date:
- March 2012
- Posts:
- 29
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 9
- Thanked:
- 2 times in 1 posts
December 14, 2013 at 2:13 pm #515450Hey,
I have been searching in the file default.php that code line.. Couldnt find it.. I realised i dont have that certain folder. I can only find that file right here:
components/com_virtuemart/views/categories/tmpl
But here there is not that code line in default.php..
Any suggestions?
best regards,
Markus Hemm
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
December 16, 2013 at 1:56 am #515494Hi Markus,
<blockquote>components/com_virtuemart/views/categories/tmpl</blockquote>
>> This is based folder of VM and by default, we override layout for categories in:
/templates/ja_your_template_name/html/com_virtuemart/categories/default.php
There maybe problem when you install this template.
Anyway, you can download attached file and copy to above folder.
blankito Friendblankito
- Join date:
- March 2012
- Posts:
- 29
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 9
- Thanked:
- 2 times in 1 posts
December 16, 2013 at 10:56 pm #515646Hey Mate,
I have done as you told me! But please tell me again.. Do i have to create that folder your talking about? I have done as you told me.. but it hasnt changed though! I hope you can help me!
I copied the file of yours: my_template/components/com_virtuemart/views/categories
Do i have to create the folder you are talking about???
Thank you in advance,
Markus
-
AuthorPosts
This topic contains 12 replies, has 3 voices, and was last updated by blankito 10 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum