Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Zoom Effect(SKU# FLEX-00005)

TOPIC: Translation problem

Translation problem 9 years 3 months ago #11594

Hi,

I want to translate the "Hover to Zoom, Click to Enlarge"
There is an option in the plugin but my site is multilingual (If i put a value in the 'Translate Enlarge Text' it keeps it in both languages).
I tried to find an ini or something to change it but i couldnt.

What changes should be done to achieve this??

Thanks,
Panos
The administrator has disabled public write access.

Translation problem 9 years 3 months ago #11608

Hmm.

Then you need to use the Joomla Translation INI files for that line to translate. If you follow what i am saying, you would achieve.
It is not very challenging.

Open the core language INI files (for the languages you use):

for English: root/language/en-GB/en-GB.ini
for Spanish: root/language/es-ES/es-ES.ini
for France: root/language/fr-FR/fr-FR.ini
and so on....

to the bottom, include this line:
ZOOM_HOVER = "Hover to Zoom, Click to Enlarge"

(of course, translate the line for each language INI file)

then open this PHP file:
/templates/YOUR_TEMPLATE/html/com_virtuemart/productdetails/default_images.php

and look for this line:
<?php echo $params->get('enlarge_translate'); ?>

replace it with this:
<?php echo JText::_('ZOOM_HOVER') ?>

Then, the ZOOM_HOVER expression will print what ever you define in the language INI file and will be translated as you change the Joomla Language in the front-end.

If you like Zoom Effect and satisfied with the support you have received, please "write a review" on:
www.flexiblewebdesign.com/Virtuemart-Modules/Virtuemart-Zoom-Effect-Plugin

Write couple of sentences to share your experience with the support team.
Just 2-3 sentences would be enough ;) It might sound simple to you, but it is extremely important. Potential customers care about product reviews very much.

Thanks in advance!

Regards,
Support
Last Edit: 9 years 3 months ago by Support.
The administrator has disabled public write access.
Time to create page: 0.142 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo