I am setting up a 2 languages system and my other PHP apps support those languages via some switches. How can I detect the language selected in aMember then to pass it along to protected apps?
I guess your application is written in PHP. In this case you can use Am_Lite API to retrieve chosen lang option for currently logged in user. http://www.amember.com/docs/API/Lite PHP: <?phprequire_once '/home/myusername/public_html/amember/library/Am/Lite.php';if (m_Lite::getInstance()->isLoggedIn()) { $user = Am_Lite::getInstance()->getUser(); $lang = $user['lang']; //$lang should be populated with chosen language for currently logged in user}