refactor Locale init; add locale param for reading settings