Enterprice - Joomla - live_site - path problem

Popular automatic website translation tool

Enterprice - Joomla - live_site - path problem

Postby edel » Sat Dec 06, 2014 11:14 pm

(sry for my bad english)
I have "Enterprice" for Joomla.
Googlemap does not work when I translate because the subdomain is not included in the Joomla path.
for example:
without the subdomain
http://www.mega-anuncios.com/index.php - is running
with subdomain:
http://en.mega-anuncios.com/index.php - not running
I can in the Joomla configuration.php set live_site = en.domain.com
english now works
but not all other languages (de., it., .....)

need a function:
if
subdomain de.
else
live_site = de.domain.com
???
edel
 
Posts: 3
Joined: Sat Dec 06, 2014 10:47 pm

Re: Enterprice - Joomla - live_site - path problem

Postby Yana » Mon Dec 08, 2014 12:33 am

Hi,
You will need to use custom programming on your side . You can find the current selected language code.
For Gtranslate Enterprise version you can find the current selected language code from X-GT-Lang request header. You can find it in _SERVER['HTTP_X_GT_LANG'] 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: 4129
Joined: Thu Jan 12, 2012 6:21 pm

Re: Enterprice - Joomla - live_site - path problem

Postby edel » Tue Dec 09, 2014 11:45 pm

Many thanks for the answer
I do not know what I must do.
can you explain this to me

i set in head:
Code: Select all
<meta name="uri-translation" content="on" />


and in .htaccess:
Code: Select all
RewriteCond %{HTTP:X-GT-Lang} ^$
RewriteCond %{HTTP_HOST} ^mega-anuncios.com
RewriteRule (.*) http://www.mega-anuncios.com/$1 [R=301,L]
edel
 
Posts: 3
Joined: Sat Dec 06, 2014 10:47 pm

Re: Enterprice - Joomla - live_site - path problem

Postby Yana » Wed Dec 10, 2014 2:31 pm

Hi,

<meta name="uri-translation" content="on" /> is for enabling URL translation feature for your website
Here is an example of translated URL
http://ru.mega-anuncios.com/шоу/автомобиль%20на%20рынок%20Балеарские-Майорка/Прицеп-Майорка-kaufen.html

The .htaccess rules are for removing non-www to www redirect for our network.
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: 4129
Joined: Thu Jan 12, 2012 6:21 pm

Re: Enterprice - Joomla - live_site - path problem

Postby edel » Wed Dec 10, 2014 10:36 pm

it's not about the translation - which works very well.
the Googlemap not work for subdomains.

without the subdomain
http://www.mega-anuncios.com/index.php - is running
with subdomain:
http://en.mega-anuncios.com/index.php - not running
edel
 
Posts: 3
Joined: Sat Dec 06, 2014 10:47 pm

Re: Enterprice - Joomla - live_site - path problem

Postby Yana » Thu Dec 11, 2014 10:26 pm

Hi,
If you can send ftp access info we can check and fix the issue.
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: 4129
Joined: Thu Jan 12, 2012 6:21 pm


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux