In the European Standard for Accessibility there is a requirement that the "default human language of software can be programmatically determined".
For example, when using a Spanish-language app on an English-language Android operating system, the Spanish terms should not be read aloud in an English pronunciation, by the talkback screenreader.
However, I cannot find a way to fulfill this requirement. Is there a way in Android to specify in the code which language the app should report to the system?