Page 1 of 2
Google Translate Service
Posted: Thu Oct 22, 2020 5:02 pm
by JHPJHP
Re: Google Translate Service
Posted: Thu Oct 22, 2020 5:03 pm
by JHPJHP
Clipboard Viewer with Context Menu and Options Panel
The first three Ctrl "buttons" at the bottom of the Clipboard Viewer are clickable and the next four are draggable, simulating Ctrl key actions.
From Clipboard Viewer's context menu, under Advanced Options is a simple yet powerful feature that utilizes Regular Expressions for text replacement.

Re: Google Translate Service
Posted: Thu Oct 22, 2020 5:03 pm
by JHPJHP
Updated:
- various updates and improvements
NOTES:
All downloads require an access key.
Access key is emailed after a one time $20 CAD donation.
Good for all current and future scripts, programs, and updates.
------------------------------------------------------
Here is a short animation demonstrating one of the Google Translate Service features; animation created using the
Video Snipping Tool.
- copied a selection of code to the clipboard
- used an existing Regular Expression to filter the list
- removed parts of the list not wanting translated
- translated the remaining list
- applied the translated filter
Animation created using
Video Snipping Tool

Re: Google Translate Service
Posted: Fri Oct 23, 2020 12:00 am
by AMpos
Hi!
Can you explain me what is your program for?
Thank you.
Re: Google Translate Service
Posted: Fri Oct 23, 2020 8:46 am
by DoubleDutch
This looks great for getting translation strings for app or games.
Re: Google Translate Service
Posted: Sat Oct 24, 2020 3:27 am
by JHPJHP
Hi AMpos,
DoubleDutch wrote:This looks great for getting translation strings for app or games.
Here are just a few more features...
Multiple Modes:
-
Window-less: Close the Clipboard Viewer
-
Semi-Transparent: Double-click the Clipboard Viewer window
-
Extended: Set from the Clipboard Viewer context menu
-
Minified: Set from the Clipboard Viewer context menu
Forum posts, documents, emails, etc. can be written in your native language, then translated in-place.
- select the text you want translated
- press CTRL + F5 to replace the selected text with the translated text
NOTE: Ctrl keys can be disabled; the F4 - F7 buttons located at the bottom of the Clipboard Viewer are draggable, simulating their key action when dropped onto selected text.
Copy and translate text documents up to 100,000 characters into the Clipboard Viewer.
Listen to selected text, read aloud, translated into your native language.
When the option URL Hotspots is enabled from the context menu, web hyperlinks within the Clipboard Viewer can be clicked, opening your default browser to the translated webpage.
NB*: As with everything I have written in PureBasic, the full source code is included with the download.
Re: Google Translate Service
Posted: Sat Oct 24, 2020 9:59 am
by DoubleDutch
Amazing value for money. I'll pay the access fee and take a better look sometime this weekend. Thanks for making the code available.
Update: Paid (see deluxepixel donation)
Re: Google Translate Service
Posted: Sat Oct 24, 2020 3:03 pm
by JHPJHP
Hi DoubleDutch,
DoubleDutch wrote:Amazing value for money. I'll pay the access fee and take a better look sometime this weekend. Thanks for making the code available.
Thank you very much for your donation, I hope you find something useful or at least entertaining.
Your access key was emailed to the address you provided through PayPal.
You may also want to take a look at
Windows Services & Other Stuff, it contains additional Google Translate scripts...
\Other_Stuff\GoogleTranslate\GoogleTranslate.pb: original version without the graphics overhead
\Other_Stuff\GoogleTranslate\GoogleTranslate_DLL.pb: DLL version (see scripts folder) for processing files
Re: Google Translate Service
Posted: Sat Oct 24, 2020 5:40 pm
by DoubleDutch
Thanks. I'll be using your routines in my internal tools for translating my games ( See:
https://deluxepixel.com/games ).
(once I update them and use it, I'll put a link to your site...)
Re: Google Translate Service
Posted: Sat Oct 24, 2020 7:00 pm
by JHPJHP
Hi DoubleDutch,
DoubleDutch wrote:I'll be using your routines in my internal tools for translating my games
If you notice any problems or have improvement suggestions, please don't hesitate to post here or @
My PureBasic Stuff.
Just visited
Deluxe Pixel Limited and played
Zombie Rocks! and
Save the Martians! (fun sound effects);
great games, and I really liked the online playability.
Also visited your
Twitter profile... very cool that in 1989 you made a game for the NES.
Here is one of two attempts I tried at creating a retro style game:
Invading Space Aliens; both games are available from my website.
Re: Google Translate Service
Posted: Sat Oct 24, 2020 7:45 pm
by DoubleDutch
Glad you like them. I make them with my kids to show how we used to code them in the 'old days'.
Zombie Rocks is basically a mix of Boulderdash and Dig Dug - it's a work in progress.
Save the Martians was basically something I made to show kids how to start coding a simple game for Code Club (an hour a week showing 8 to 10 year olds how to code).
Here is an advert for the NES game:
https://www.youtube.com/watch?v=IsvPcTQL6zk
I'll take a look at your games on the site later tonight (downloading everything!)...
Re: Google Translate Service
Posted: Sat Oct 31, 2020 7:42 pm
by JHPJHP
Updated:
- added
Timeout Patch
- couple minor improvements
- squashed a couple bugs
Because the WebGadget uses IE11 and most of my testing was with Edge, I'm just now finding quirks that only occur in IE when translating from some of the more obscure languages...
Removed Time Out from Options Panel and replaced it with
Timeout Patch.
Timeout Patch
If a timeout warning occurs during a translation, it might be due to an IE limitation. Enabling
Timeout Patch might fix the issue, but slows the translation process.
NB*: The scripts located in Windows Services & Other Stuff\Other_Stuff\GoogleTranslate have also been updated.
Re: Google Translate Service
Posted: Sat Oct 31, 2020 7:42 pm
by Ural4320
Be careful with Google Translate though, if you're planning to use it for anything resembling commercial and/or professional uses, you'd better have someone ready to touch up (read: rewrite entirely) the translation. I recently had the "pleasure" to deal with Google-translated news articles when writing a piece about the citizenship by investment in Spain
https://tranio.com/spain/passport/ at work, and it was easier for me to go find the original Spanish text, guess what I could deduce from what sounded close to French and Italian (since I speak these languages) and search for difficult words on Reverso or similar online translation services.
If you're looking to translate words or short 2-3 word series, though, it could do the trick.
Re: Google Translate Service
Posted: Tue Nov 03, 2020 4:56 am
by JHPJHP
Updated:
-
added History Viewer
- some minor improvements
History Viewer
Available from the context-menu.
NB*: Filter by partial (case insensitive) Date / Time, Translate Text, or Translation Text.

Re: Google Translate Service
Posted: Tue Nov 03, 2020 11:19 pm
by Tenaja
Thanks for sharing--this looks like it could come in handy.