Forum Archive - Load different images on different languages

Load different images on different languages
Feb 27, 2014 1:31 pm by dayman
Hi, We have the following website with GTranslate installed and have been very happy with it: http://www.rhiza.nl We do however have one issue, that we can't seem to solve ourselves. You can see the "Ieder kind naar school" image loaded at the top above the menu. On the English part of the website we'd like to load another image instead of this one (basically the same image, but translated to English). How can we do this? Thank you, Thomas
Re: Load different images on different languages
Feb 27, 2014 10:05 pm by Yana
Hi, It will require additional programming on your side. You will be able to get the current selected language and load appropriate image To detect current selected language: for GTranslate Pro Joomla system plugin it is JSession::get('glang'); for the GTRanslate Pro General version it is $_GET['glang'] variable.
Re: Load different images on different languages
Feb 28, 2014 12:05 pm by dayman
Hi Yana, Thank you for the quick reply! Could you please elaborate it a bit more? I'm not quite sure how to do that.. Thanks in advance, Best regards, Thomas
Re: Load different images on different languages
Feb 28, 2014 12:28 pm by Yana
Dear Thomas, You should check the current selected language before loading images. Your developer should be able to make appropriate changes.
Re: Load different images on different languages
Feb 28, 2014 3:58 pm by dayman
Thanks, we got it ;)
Re: Load different images on different languages
Mar 3, 2014 7:46 am by alt_f4
@dayman How did you realized that feature? Would be great to hear from you... KR, Michael

SIMILAR TOPICS

Highly increased load on website from 51.255.131.149Feb 19, 2019 8:29 pmReplies: 1Post by: Ant_Z
Translate website to any specific language, on page loadJan 19, 2019 6:49 amReplies: 1Post by: Leaon7756
How do I add Indian languages in Drupal GTranslate?Sep 18, 2011 6:10 amReplies: 26Post by: rag_gupta
Is it possible to unhook Gtranslate's CSS (ie. not load it)?Nov 23, 2018 4:01 pmReplies: 1Post by: oxygensmith
Code to use in Google Analytics to track languagesNov 16, 2015 10:46 amReplies: 9Post by: lucysadler

Try GTranslate with a free 15 day trial