Hi
I want to add a build-in translation component, where a translation box pops up once a user selects any word or sentence.
Cound our sdk support this and how should I do?
Regards
Ricky
How to add a built-in translation component?
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: How to add a built-in translation component?
Hello Ricky,
Yes you can handle the selection change and also see what selection type is used (in your case - the page text selection from which you can get the needed text). Then you can display something like popup or tooltip and show your translation.
Cheers,
Alex
Yes you can handle the selection change and also see what selection type is used (in your case - the page text selection from which you can get the needed text). Then you can display something like popup or tooltip and show your translation.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ