Added the option to have the locales in the properties format