Forum Archive - get url of page dont work with /lang/

get url of page dont work with /lang/
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
Check this out: gtranslate/url-language-code-t320.html

SIMILAR TOPICS

GT doesn't work...error 404 pageJan 28, 2019 5:36 pmReplies: 1Post by: vincenzodinuzzo
Translate website to any specific language, on page loadJan 19, 2019 6:49 amReplies: 1Post by: Leaon7756
Best way to translate a page in WordPress?Jan 7, 2019 11:10 amReplies: 3Post by: Tonnystark
Is it translate web page in any languageAug 17, 2018 12:23 pmReplies: 3Post by: jaizoojee
Set the language through the URL, from a different pageSep 2, 2018 7:51 pmReplies: 3Post by: Jorgedmm

Try GTranslate with a free 15 day trial