meshtastic / Meshtastic-Apple

Apple iOS, iPadOS & macOS Clients For Meshtastic
https://meshtastic.org
GNU General Public License v3.0
237 stars 70 forks source link

🚀 [Feature Request]: add support for apple translation api #827

Open djh1997 opened 4 months ago

djh1997 commented 4 months ago

OS

iOS

Description

Investigate the addition of support for the apple language translation api like in the ice cubes mastodon app into the messages as in Europe their are lots of different langue's spoken within range.

Participation

Additional comments

No response

garthvh commented 4 months ago

This is already in place, feel free to use Xcode for translation

djh1997 commented 4 months ago

sorry I didn't mean to change the language of the app I meant to translate incoming messages to the same language as the app.

72A12F4E commented 4 months ago

This is an interesting idea!

72A12F4E commented 4 months ago

To implement this, we would just need to add a row in app settings to toggle the behavior on and off.

Then, we would add a cult to this translations API wherever the message text is rendered.

We could always fall back to the existing message. Text if the API fails, or add a tap action to the message bubble to allow the user to swap between the translated version or not

djh1997 commented 4 months ago

ice cubes (open source ios app on github) puts a translate button on any text that is detected to be in a foreign language it might be possible to just put the sf symbol for translate into the message bubble. I'll try to get a screen shot for you later if you want. thanks for making such a great app.

djh1997 commented 4 months ago

possible relevant pull request from ice cubes