fixed locale initialization when locale is forced in config