Based on https://greasyfork.org/en/scripts/498105-duolingo-hebrew-text-to-speech/code try to do the same thing as the original script but auto detecting the language
تېخى يوللانغان مۇنازىرە يوق.
ئەگەر بۇ قوليازمىنى Greasy Fork نىڭ قائىدىلىرىگە خىلاپلىق قىلدى دەپ قارىسىڭىز، ئۆچۈرۈۋېتىش ئۈچۈن پاش قىلىڭ.