get url of page dont work with /lang/
Apr 15, 2011 2:02 pm by daniellima
Apr 15, 2011 2:02 pm by daniellima
Hi
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
$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]
but $_SERVER["REQUEST_URI"] get the original url without /lang/
Is there another way?
Re: get url of page dont work with /lang/
Apr 15, 2011 8:20 pm by Edvard
Apr 15, 2011 8:20 pm by Edvard
Check this out: gtranslate/url-language-code-t320.html
SIMILAR TOPICS
GT doesn't work...error 404 page | Jan 28, 2019 5:36 pm | Replies: 1 | Post by: vincenzodinuzzo |
Translate website to any specific language, on page load | Jan 19, 2019 6:49 am | Replies: 1 | Post by: Leaon7756 |
Best way to translate a page in WordPress? | Jan 7, 2019 11:10 am | Replies: 3 | Post by: Tonnystark |
Is it translate web page in any language | Aug 17, 2018 12:23 pm | Replies: 3 | Post by: jaizoojee |
Set the language through the URL, from a different page | Sep 2, 2018 7:51 pm | Replies: 3 | Post by: Jorgedmm |