InDesign's export to EPUB 3 puts all the languages present in the document (even just a few characters tagged in a particular language) in the OPF file as metadata:
[...] the dc:language elements should only list the primary languages that the content is written in. If a publication contains a few phrases in a foreign language, for example, that language is not listed.
How to fix it
We propose to add to the EPUB export wizard a field to select the main language of the ebook, in the same way as is handled for the export of Interactive PDFs:
This metadata would be the only one to be included in the OPF file as <dc:language> and as the xml:lang attribute of the <package> tag.
Knowledge base reference: http://kb.daisy.org/publishing/docs/epub/language.html
Issue
InDesign's export to EPUB 3 puts all the languages present in the document (even just a few characters tagged in a particular language) in the OPF file as metadata:
The knowledge base says:
How to fix it
We propose to add to the EPUB export wizard a field to select the main language of the ebook, in the same way as is handled for the export of Interactive PDFs:
This metadata would be the only one to be included in the OPF file as
<dc:language>
and as thexml:lang
attribute of the<package>
tag.