Translation framework error.

Hello everyone.

I use Translation Framework in my application. During development everything was fine, Translation framework worked well, but after two or three days of using the production version (that was published in AppStore and available for others also!) - my application stopped working. Translation framework gives errors:

Error sending 1 paragraphs Error Domain=TranslationErrorDomain Code=16 "Translation failed" UserInfo={NSLocalizedDescription=Translation failed, NSLocalizedFailureReason=Offline models not available for language pair}

Failed to translate input 0; returning error: Error Domain=TranslationErrorDomain Code=16 "Translation failed" UserInfo={NSLocalizedDescription=Translation failed, NSLocalizedFailureReason=Offline models not available for language pair}

Received unbridged NSError to API, converting to .internalError: Error Domain=TranslationErrorDomain Code=16 "Translation failed" UserInfo={NSLocalizedDescription=Translation failed, NSLocalizedFailureReason=Offline models not available for language pair}

Once again - it worked when I developed it, it was released on the AppStore, and suddenly it stopped working!

Hello @DaveOlsen1, thank you for your post. Are you able to reproduce the issue locally when downloading your app from the App Store? What language pairs are you using? Is your device connected to the internet when the issue happens?

Hello. Yes. When I download my app from the App Store, an error appears. It worked only for 2-3 days and then it stopped working. I asked my friends to check it by downloading my app from App Store and they have the same problem. The language pairs are different: English to German, German to Russian, Spanish to German, etc. My app stops working after 1-2 days of use. I had to remove it from sale. Our devices are connected to the internet the error appears. Also my app shows the dialog to download language pairs as Translation Framework offers it.

Hello @DaveOlsen1, thank you for providing further information. Please use Feedback Assistant to submit a bug report, and please post here the FB number for my reference.

Hello. It's strange, but the translation feature in my app works again. I changed nothing. It started working again also for my friends on their devices. Could you please tell me what is FB number and the can I find Feedback Assistant ? Thank you.

Translation framework error.
 
 
Q