Users may need to specify the locale for which they are generating language specific code. This is currently the case for the docmap that needs to know for which locale it is generated.