Correct `LANGUAGES` setting in sandbox

We were using locale codes instead of languaage codes as the first
element of each tuple.  This caused the dropdown to not always show the
right selected language.

Fixes #597