Correctly get selected locale (see #20)
Correctly get and set locale (#20)