Drupal Association members fund grants that make connections all over the world.
Surely this has been done before, but I cannot find an example. The documentation doesn't seem to have the answer. Anyway I'd like to retrieve 'global variables' (not sure if that's proper lingo) such as the currently used interface language. I thought that simply using $language would do the trick, but it doesn't. I do know how to use php in a node. Would anyone know the proper PHP code to get the current interface language?
or how about the username?
Thanks for any pointers (also pointers to documentation of course).