Fixed incorrect modularising of locales.