Move locale configuration into it's own module