I am using Poly language plugin to build my own custom multi language website
Previously i was using Q_translate it's working fine with me, but i need to use poly language now, so excuse me if there my experience with poly language is poor.
I need to build my custom language switcher like this website
I am using
to get the current language
my problem is i need to call any function to get non-current language.
EX: my website languages is Arabic, English i need let's say now i am browsing my site in Arabic language i need to get the other language & versus.
I tried this but it's working
Thanks in advance