Is it a language detection issue then ?

Reply to this note

Please Login to reply.

Discussion

Chinese auto-translates fine but Japanese is never auto translated on my phone.

Need a bit more context. Which translation service and where on your phone are you auto translating?

I’m using DeepL free. not sure what you mean by where am I auto translating… anywhere in Damus?

Got it! I started getting confused because I thought we were talking about Microsoft’s translations. Anyway, I think it’s a language detection issue from Apple’s offline Natural Language detection API. My experience has been spotty, some Japanese notes get auto-translated, others don’t have the translation option. I’m not sure why — maybe Apple’s ML models aren’t as developed for Japanese? We could possibly try switching over to or combining the approach with Google ML Kit’s offline language detection API for better results. I’ll play around with it.

probably cause you have the japanese language enabled on your phone. Same issue for me till I removed it.

Oh, this! Yes, it will not offer the option to translate if the detected language is one of your preferred languages in iOS settings.

Ohh

Yup that fixed it

Awesome will try that

I can’t seem to get auto-translate to work for any language

did you put your DeepL api key in ? It’s the only one worth using imo.

Ok will work on that. I was testing LibreTranslate with no luck

Might be worth considering just removing the existing pre-baked LibreTranslate servers (leaving it open for only self-hosting and custom URLs) since their uptime and general quality has been so poor, and prefer other translation services. I’ll work on this.

Ok I just needed to update to 1.4.0 (1) from TestFlight, works great now.

Is there a way to match the font size of the translated text to the dynamic font size in iOS system settings? Across all sizes the translated text is showing up much bigger than the original text.

was working on that when you sent this message

Fantastic, thank you!