Fix local factory bug. Better way to create different locales.