Allow users to change their locale in the profile page

Fixes #10.