The XML Writer settings specify the UTF-8 BOM and xml:lang attributes in the target file.
xml:lang="en" in the source file
to:
xml:lang="fr" in the target file.
xml:lang="..." in the source file