39
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 13 Feb 2024
39 points (95.3% liked)
YUROP
1210 readers
5 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
- !albania@lemmy.world
- !austria@feddit.org
- !belgique@jlai.lu
- !belgium@lemmy.world
- !croatia@lemmy.world
- https://feddit.dk
- !deutschland@feddit.org / !germany@feddit.org
- !eesti@lemm.ee
- https://lemmy.eus/
- !finland@sopuli.xyz
- !france@jlai.lu
- https://foros.fediverso.gal/
- !greece@lemmy.world
- !hungary@lemmy.world
- Italy: !news@feddit.it
- !ireland@lemmy.world
- !northern_ireland@feddit.uk
- !norway@lemmy.world
- !thenetherlands@feddit.nl
- Poland: !wiadomosci@szmer.info
- !portugal@lemmy.pt
- !romania@feddit.ro
- !suisse@lemmy.world
- !sweden@lemmy.world
- !ukraine@sopuli.xyz
- !unitedkingdom@feddit.uk
- !wales@lemm.ee
founded 9 months ago
MODERATORS
There are a lot of different translations apps out there. iOS even has translation built into the OS. I’m not sure why it’s not a standard feature in these apps. Maybe there isn’t a decent api for it.
I think meta text has a translate feature, but it’s not obvious to find.
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