I wish Apple made the translate function that's available when you select text also available through Swift so you could build a button for it. But in its absence, I wonder if it makes sense to add something like DeepL into our iOS app...
I wish Apple made the translate function that's available when you select text also available through Swift so you could build a button for it. But in its absence, I wonder if it makes sense to add something like DeepL into our iOS app... 12 comments
@Gargron not sure if it's the same thing, but their developer forum said it might be available thru this api. https://developer.apple.com/documentation/vision/locating_and_displaying_recognized_text @Gargron sorry, it doesn't answer your specific question but hopefully you inferred I generally hate any platform that isn't the web where I can't use a browser 🤷 @Gargron it seems to be Vivaldi now have the best built in translation UX of any browser Lewis Dexter Litanzios, idk, it's not very good at translating (tried it after they released it), but it's good at appending a bunch of crap to every single page you visit even if you don't invoke it. Lewis Dexter Litanzios, nope, this thing is definitely related to the translation feature @grishka yes, as I said, those CSS variables will be for Vivaldi's [chrome] - it has to be in the DOM, where else do you expect it to be? [chrome]: https://www.nngroup.com/articles/browser-and-gui-chrome/ Lewis Dexter Litanzios, yes, I understand that. But why does it have to be injected into the DOM of my page? This sort of intrusion isn't acceptable. It's not Vivaldi's own UI I'm inspecting (but it is written in JS and is inspectable), it's a Smithereen instance running on localhost. @Gargron I also wish you could get programmatic access to the image description engine that the advanced voiceover mode uses, so you could use it to automatically label images you post, since it is quite amazing. Filed an issue about that, which somebody working on accessibility at Apple suggested, even though filing issues with Apple is the most frustrating experience ever. But supposedly, they do take filed issues into account when prioritising which features to make public APIs for. |
@Gargron I added a Google Translate button to my Mastodon instance and people seem to like it