Fix rake task to load locales.