how to translate an inline frame

Popular automatic website translation tool

how to translate an inline frame

Postby cefnllys ltd » Wed Aug 07, 2013 1:27 pm

Hi there, I was wondering if anyone can help sort a little issue I have. basically we have a component installed called Jumi and on one of our pages this comopnent uses a text string to refrence an xml feed and display it however to get the feed to display I have to wrap the text string which refrences it in the no translate tags so the string looks like this:

<div class="notranslate">
<p>{jumi [jumi/xml_feed.php]}</p>
</div>

This does display the feed however it does not translate the content of the feed. Is there anyway I can get this to work?
cefnllys ltd
 
Posts: 2
Joined: Wed Aug 07, 2013 1:02 pm

Re: how to translate an inline frame

Postby Yana » Wed Aug 07, 2013 4:22 pm

Hi,

You can try to get the current selected language code and add to the iframe src URL to include the language code. In that case it will be translated.
For GTranslate Pro Joomla system plugin it is JSession::get('glang');
for the GTRanslate Pro General version it is $_GET['glang'] variable.
Regards,

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Yana
 
Posts: 4135
Joined: Thu Jan 12, 2012 6:21 pm

Re: how to translate an inline frame

Postby cefnllys ltd » Wed Aug 07, 2013 4:58 pm

Hi thanks for the reply, I tried your suggestion but due to the component we are using (Jumi) when i add the language code to the refrence URL the page is no longer displayed. is there any other way that this might be possible?

Thanks
cefnllys ltd
 
Posts: 2
Joined: Wed Aug 07, 2013 1:02 pm


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux
cron