moved locale management to a locale service provider

Looks reasonable to me to do that in 1.2. What do you think?