get url of page dont work with /lang/

Popular automatic website translation tool

get url of page dont work with /lang/

Postby daniellima » Fri Apr 15, 2011 6:02 pm


I need to detect in php script if users is accessing a translated version of site to change somethigns like xml:lang meta tag, charset, etc..

I tried to use


but $_SERVER["REQUEST_URI"] get the original url without /lang/

Is there another way?
Posts: 17
Joined: Sat Apr 02, 2011 7:31 am

Re: get url of page dont work with /lang/

Postby Edvard » Sat Apr 16, 2011 12:20 am


Edvard Ananyan - 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
Site Admin
Posts: 4403
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

  • Related Topics
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests