add locale configuration