First of all ,English is not my native language. Sorry for any spelling mistakes.
I'm running into a problem that every time I using api getting data from server, the seesion language always lost.
like feedback module, the phase stage always show English, even though I change mobile app language to traditional chinese.
then I find that it's may be the session lost.
current_language() function always retrun $USER->lang not $SESSION->lang or $SESSION->forcelang
I don't want to change $USER->lang every time I change mobile app language.
Has anyone else come across this? Or any ideas on the cause?
Thank you.