Adding __init__ for setting locale and providers