I am using Roundcube as a webmail client and need to write a script in order to change language of UI for current user.
Does anybody have any idea of how to do that? I know that there is a table users which has a field language. The problem consists on how to get current username using a script.
To change the language: