change locale in generated files