I wrote this code in Damus. It uses Apple’s Natural Language prediction model to make a hypothesis of which language the note is written in, and then sends the translation request to LibreTranslate if it’s not one of your preferred languages. In this case, the hypothesis was incorrect. We’ve been running into this issue quite a bit, which is why I’m complaining about Apple.