externalisation of :locales file genereration