CMD_CHANGE_INFO can set temporary language in session

Version 1.52


Relating to the usual way User would change their language: this adds an extra option: session=yes such that it will save the language into the session file instead of the user.conf. Then any future pages loaded, the language set in the session file will override the user.conf language. This is useful if you have multiple people using different languages, logged into the same account at the same time. POST: CMD_CHANGE_INFO language=<any text> lvalue=en session=yes This will also affect the global |USERLANG| token.

Interested to try DirectAdmin? Get a 30-day Free Trial!