Read Aloud feature does not respect "lang" attribute for multi-language documents

%3CLINGO-SUB%20id%3D%22lingo-sub-2919733%22%20slang%3D%22en-US%22%3ERead%20Aloud%20feature%20does%20not%20respect%20%22lang%22%20attribute%20for%20multi-language%20documents%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2919733%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20%22Read%20Aloud%22%20feature%20is%20great%20but%20unusable%20in%20the%20context%20of%20multi-language%20documents%20as%20it%20does%20not%20respect%20the%20%22lang%22%20attributes%20in%20the%20tags%20of%20the%20HTML%20document.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20would%20be%20great%20if%20we%20could%20set%20default%20voices%20for%20different%20languages.%20Then%2C%20if%20a%20tag%20has%20a%20different%20%22lang%22%20attribute%20than%20the%20main%20HTML%20tag%2C%20the%20corresponding%20voice%20would%20be%20used%20instead.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdeveloper.mozilla.org%2Ffr%2Fdocs%2FWeb%2FHTML%2FGlobal_attributes%2Flang%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.mozilla.org%2Ffr%2Fdocs%2FWeb%2FHTML%2FGlobal_attributes%2Flang%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

The "Read Aloud" feature is great but unusable in the context of multi-language documents as it does not respect the "lang" attributes in the tags of the HTML document.

 

It would be great if we could set default voices for different languages. Then, if a tag has a different "lang" attribute than the main HTML tag, the corresponding voice would be used instead.


https://developer.mozilla.org/fr/docs/Web/HTML/Global_attributes/lang

0 Replies