refactor. allow setting locale per account