Add support for the translation.locale configuration