[ad_1]
Plugin Author
edo888
(@edo888)
Hi,
You better direct your question to Fox Currency plugin developer.
You can check this article about How to detect current language?
I cannot tell if the code you have is correct, but I have some notes for you. $_SERVER['HTTP_X_GT_LANG'] is only for our paid version and it uses 2 letter language code like en, bg. If you decide to do the change on server side, you must make sure that the page cannot be cached by setting header('Cache-Control: no-cache');. The best way is to find a way to do the currency change client side using javascript.
Thanks! 🙂
