topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 6:02 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: [2014-09-17] GoogleTranslator+ | Translate Anything, from Anywhere  (Read 25675 times)

ego.bizzin

  • Member
  • Joined in 2014
  • **
  • default avatar
  • Posts: 50
    • View Profile
    • Ego.Bizzin's
    • Donate to Member
Hi all DonationCoders,
I'd love to introduce to you my new DonationCoding project : Google Translator+

Some words about Google Translator+
✓ Last update : 2014-09-17

✓ Translate selected text from any window;
✓ Clipboard translation;
✓ Option to change from-to languages for translation;
✓ Auto-detect source language;
✓ Save three favorite pairs of languages
✓ Auto-save configurations on exit;
✓ Look up for definition;
✓ Instant translation;
✓ Translate text of objects in the active window, e.g. a MessageBox;
✓ Look up for definitions, for abbreviation (2014-09-17).

Links to Google Translator+
# http://221222968.inf...oogleTranslator+.zip #download_link
# http://221222968.inf...leTranslator-log.htm #log

Thank you for your consideration.

Installation Notes
✓ Portable
✓ DotNet Framework 4.0

GoogleTranslator+.png[2014-09-17] GoogleTranslator+ | Translate Anything, from Anywhere
« Last Edit: September 17, 2014, 04:39 AM by ego.bizzin, Reason: Edit twice+ »

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: Translate Anything, from Anywhere with #GoogleTranslator+
« Reply #1 on: June 03, 2014, 01:52 PM »
Very nice.  Seems to work well.  As a suggestion, I'd add a toolbar for the basic functions, too.  Some folks won't remember the hotkeys.

Thanks for sharing!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Translate Anything, from Anywhere with #GoogleTranslator+
« Reply #2 on: June 03, 2014, 01:59 PM »
I can't wait to see what bizzi does for the next NANY event.

ego.bizzin

  • Member
  • Joined in 2014
  • **
  • default avatar
  • Posts: 50
    • View Profile
    • Ego.Bizzin's
    • Donate to Member
(f)ix | (n)ew feature | (r)emoved feature
#(n)#all#2014-06-04#Auto-detect source language {F7}
#(n)#all#2014-06-04#Restore translation window as foreground window when translation done
#(n)#all#2014-06-04#Press {ESC} to minimize

As a suggestion, I'd add a toolbar for the basic functions, too.  Some folks won't remember the hotkeys.
-skwire
Thank you for your suggestion, skwire.
I will do some (+) on GUI as soon as possible. I love to make things as simple as possible, too :)
« Last Edit: June 04, 2014, 10:23 AM by ego.bizzin, Reason: Edit twice+ »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: Translate Anything, from Anywhere with #GoogleTranslator+
« Reply #4 on: June 04, 2014, 04:31 AM »
Thanks ego!
I like it and it works well here too :up:


Would it be possible to have it automatically translate text in any language to a user-chosen default language? This default language would also automatically be translated according to the settings.
In your case, all languages could be translated to Vietnamese. Vietnamese could be translated to e.g. English.
You would then need two settings:
        1) [*] => [Vietnamese]
        2) [Vietnamese] => [English]


Also, to facilitate easier access:
  • could it minimise or close to the tray?
  • maybe a universal hotkey** to restore it's window. Or even better, a hotkey that will restore window and translate already selected text :-)

** would have to be customisable I guess
Tom

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: Translate Anything, from Anywhere with #GoogleTranslator+
« Reply #5 on: June 04, 2014, 04:38 AM »
Bug:
it doesnt remember the F6 language setting on closing:
always starts with [English] <=> [Vietnamese]
Tom

ego.bizzin

  • Member
  • Joined in 2014
  • **
  • default avatar
  • Posts: 50
    • View Profile
    • Ego.Bizzin's
    • Donate to Member
[2014-06-04#2] Configuration File & Updates #Google Translator+
« Reply #6 on: June 04, 2014, 10:17 AM »
(f)ix | (n)ew feature | (r)emoved feature
#(n)#all#2014-06-04#Auto save on exit {font size, source language, target language} to configuration file (GoogleTranslator+.ini)
#(n)#all#2014-06-04#Comes with notification icon
#(n)#all#2014-06-04#Hot key to hide (ESC), show (SCROLL - global), enable scan (PAUSE - global)
#(f)#all#2014-06-04#Fix some display and window activation bugs

Many thanks to @skwire and @tomos for your suggestions and bug reports. I do love to keep my codes alive :)
« Last Edit: August 15, 2014, 12:56 AM by ego.bizzin, Reason: Edit twice+ »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: Translate Anything, from Anywhere with #GoogleTranslator+
« Reply #7 on: June 04, 2014, 02:20 PM »
Thanks for the speedy update :)

I do love to keep my codes alive :)
it's alive and kicking ;)

Comments, and a Couple of Queries (in Italics) below:
#(n)#all#2014-06-04#Auto save on exit {font size, source language, target language} to configuration file (GoogleTranslator+.ini)
it now remembers source and target languages :up:; it does not remember font size; could it remember window size?

#(n)#all#2014-06-04#Comes with notification icon
looking good :up:

#(n)#all#2014-06-04#Hot key to hide (ESC), show (SCROLL - global), enable scan (PAUSE - global)
1) Esc works well.
2) I dont have a Scroll key on my (qwertz Logitech) keyboard - but I have two 'Insert' keys - and the one near the Pause button works. I'm not crazy about the Insert key as it can change the typing behaviour in my word processor. But it does work.
3) Pause key is taken by mouser's FARR. I've been using Pause for that for years. It's one of the most popular apps here too... What does 'Enable scan' do anyway?
Tom

ego.bizzin

  • Member
  • Joined in 2014
  • **
  • default avatar
  • Posts: 50
    • View Profile
    • Ego.Bizzin's
    • Donate to Member
[2014-06-05] Answers & Updates & Fixes #GoogleTranslator+
« Reply #8 on: June 05, 2014, 05:26 AM »
(a)nswer | (f)ix | (n)ew feature | (r)emoved feature
#(f)#all#2014-06-05#Save window size, window location, Auto-as-source-language on exit
#(f)#all#2014-06-05#Prevent from running multiple instances
#(f)#all#2014-06-05#Prevent from stealing other process's control
#(f)#all#2014-06-05#Fix some display bugs
#(r)#all#2014-06-05#Remove universal {PAUSE} hot key -> {F3}

#(a)#tomos#2014-06-05#Font size not saving -> try to use {CTRL+OemPlus|Minus} instead of scrolling mouse (which changes zoom factor, not font size)
#(a)#tomos#2014-06-05#Disable auto scan prevents us from unwanted actions

Many thanks to @skwire and @tomos for your suggestions and bug reports.
« Last Edit: August 15, 2014, 12:56 AM by ego.bizzin, Reason: Edit twice+ »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: Translate Anything, from Anywhere with #GoogleTranslator+
« Reply #9 on: June 05, 2014, 06:42 AM »
^ thanks ego :up:


(will try it out later)
Tom

ego.bizzin

  • Member
  • Joined in 2014
  • **
  • default avatar
  • Posts: 50
    • View Profile
    • Ego.Bizzin's
    • Donate to Member
(n)ew feature
#(n)#all#2014-06-06#Look up definition : English -> English
#(n)#all#2014-06-06#Extra window for more convenient translation
#(n)#all#2014-06-06#Customize font from toolbar
#(n)#all#2014-06-06#Toolbar : {Enable scan} | {Look up mode} | {Languages}| {Auto-detect source language} | {Font} | {Extra window} | {Help}
« Last Edit: August 15, 2014, 12:56 AM by ego.bizzin, Reason: Edit twice+ »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: Translate Anything, from Anywhere with #GoogleTranslator+
« Reply #11 on: June 06, 2014, 08:46 AM »
Great progress :up:

eh, how do I get the "Look up definition" ?
I presumed it was just a case of clicking on the search icon - but nothing happens here.
I tried it with just one word in the box or with the word selected, without success.


EDIT// got it - press F4
 Will work with it a bit
Tom

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: Translate Anything, from Anywhere with #GoogleTranslator+
« Reply #12 on: June 06, 2014, 09:14 AM »
If the extra window has focus, it stays on top even when another window has focus - is this intentional? I find it confusing.

Esc will get rid of the window, but I tend to often just click in the background window I want to use. This normally doesnt work great for me: the GoogleTranslator+ window stays on top and becomes almost transparent. I dont think this is a good idea, it just gets in the way - I forget it's there and click on it unintentionally. I think it would be better if it just worked like a normal window. What do you think?

I find using the same hotkey for Translate and Look-up-definition not ideal. I realise that I can toggle the "Look-up-definition" via button first; but I think it would be easier to simply have two hotkeys - one for each (?)
=> would that mean having two buttons instead of a toggle button? Press the button for the action (e.g. Translate).
Currently the F4 hotkey does not have a button for the action. I think it would be good if it did.

Minor: when giving a definition, it would be nice if the defined word were shown at the beginning.
Tom

ego.bizzin

  • Member
  • Joined in 2014
  • **
  • default avatar
  • Posts: 50
    • View Profile
    • Ego.Bizzin's
    • Donate to Member
[2014-06-06#2] Happy Stable #GoogleTranslator+
« Reply #13 on: June 06, 2014, 12:46 PM »
Many thanks to @skwire, @mouser and @tomos for your consideration and suggestions.
I'm coming to new donating-coding projects before surviving on freelance-land :)
« Last Edit: August 15, 2014, 12:57 AM by ego.bizzin, Reason: Edit twice+ »

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: Translate Anything, from Anywhere with #GoogleTranslator+
« Reply #14 on: June 06, 2014, 01:45 PM »
Toolbar...yes.  Great job.   :Thmbsup:

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: Translate Anything, from Anywhere with #GoogleTranslator+
« Reply #15 on: June 06, 2014, 05:08 PM »
Looking better all the time ego :up:
(looking forward to trying it out)
Tom

ego.bizzin

  • Member
  • Joined in 2014
  • **
  • default avatar
  • Posts: 50
    • View Profile
    • Ego.Bizzin's
    • Donate to Member
[2014-06-13] Updates #GoogleTranslator+
« Reply #16 on: June 10, 2014, 03:44 AM »
(f)ix | (n)ew feature
#(f)#all#2014-06-13#Fix ontop bug

#(f)#all#2014-06-10#Fix translate text in main window with new line characters, code here : https://github.com/e...tRichTextBoxLines.cs
#(f)#all#2014-06-10#Fix setForegroundWindow, code here : https://github.com/e...tForegroundWindow.cs
#(n)#all#2014-06-10#{F9} to swap languages
« Last Edit: August 15, 2014, 12:57 AM by ego.bizzin, Reason: Edit twice+ »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
F7 & F9 are great :up:


I'm a bit confused about the 'Auto' button - it always uses the destination language (the one on the right hand side).
Is there an advantage to using e.g. German=>English instead of Auto=>English ?
Tom

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Would love if it could remember a few 'sets' of language choices.
Not sure how if might be possible to display them -
  • a key to cycle through them?
  • a drop-down arrow somewhere (e.g. as in screenshot below) showing pre-selected choices (?)
  • both :-)

Screenshot - 2014-06-08 , 12_33_37.png
Tom

ego.bizzin

  • Member
  • Joined in 2014
  • **
  • default avatar
  • Posts: 50
    • View Profile
    • Ego.Bizzin's
    • Donate to Member
[2014-06-14] Favorite Pairs of Languages #GoogleTranslator+
« Reply #19 on: June 13, 2014, 01:32 PM »
(f)ix | (n)ew feature
#(f)#all#2014-06-14#Reset hot keys
#(n)#all#2014-06-14#Save three favorite pairs of languages

Thank you for your suggestions, @tomos.
« Last Edit: July 21, 2014, 09:32 PM by ego.bizzin, Reason: Edit twice+ »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
^ trying this out today - many thanks!
Tom

ego.bizzin

  • Member
  • Joined in 2014
  • **
  • default avatar
  • Posts: 50
    • View Profile
    • Ego.Bizzin's
    • Donate to Member
[2014-08-06] GoogleTranslator+ Updates
« Reply #21 on: July 21, 2014, 09:33 PM »
(n)ew | (f)ix
#(n)#all#2014-08-06#{F2} to enable/disable instant translation
#(f)#all#2014-08-06#Minor display updates

#(f)#all#2014-07-21#Restore {scroll} state
#(f)#all#2014-07-21#Minor display updates
« Last Edit: August 15, 2014, 12:44 AM by ego.bizzin, Reason: Edit twice+ »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: [2014-08-06] GoogleTranslator+ | Translate Anything, from Anywhere
« Reply #22 on: August 13, 2014, 07:20 AM »
hi ego.bizzin !

I updated to latest version today -
I just copied everything over to my GoogleTranslator+ folder. Unfortunately I noticed too late that you had an ini file included, so I lost my previous settings :-(

I cant remember how it worked before, but would be better if ini file were not included (?)
Also: I dont think there is a link for this thread in the help file (?) - would be a good idea imo

Thanks for the update :Thmbsup:


Tom

ego.bizzin

  • Member
  • Joined in 2014
  • **
  • default avatar
  • Posts: 50
    • View Profile
    • Ego.Bizzin's
    • Donate to Member
Re: @tomos
« Reply #23 on: August 14, 2014, 10:32 AM »
I cant remember how it worked before, but would be better if ini file were not included (?)
-tomos
»» I've excluded the .ini file from the download.

Also: I dont think there is a link for this thread in the help file (?) - would be a good idea imo
-tomos
»» I'm sorry I don't understand what you meant (for my bad English). But please press {f1} to get a brief help on shortcuts.

Thank you for your consideration, @tomos.
« Last Edit: August 14, 2014, 10:34 AM by ego.bizzin, Reason: Edit twice+ »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: [2014-08-06] GoogleTranslator+ | Translate Anything, from Anywhere
« Reply #24 on: August 14, 2014, 12:24 PM »
Thanks!

#2) can you include this link in the help file?
Tom