this post was submitted on 13 Feb 2024
39 points (95.3% liked)
YUROP
1212 readers
1 users here now
A laid back community for good news, pictures and general discussions among people living in Europe.
Other European communities
Other casual communities:
Language communities
Cities
Countries
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- https://feddit.dk
- [email protected] / [email protected]
- [email protected]
- https://lemmy.eus/
- [email protected]
- [email protected]
- https://foros.fediverso.gal/
- [email protected]
- [email protected]
- Italy: [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- Poland: [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
founded 10 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
How would you design a Lemmy/kbin app to do this?
It seems Apple has an api that can detect and translate languages. Google and Microsoft also have one too.
I’m not an iOS developer, but there could be a few options to implement this feature.
Each message could be analyzed for the language and if it’s not the target language and is a supported language then just translate it.
You could have a button on the post that you can click to have it analyze through text and then translate it.
https://developer.apple.com/documentation/applicationservices/translation?ssp=1&darkschemeovr=1&setlang=en&cc=PH&safesearch=moderate