Update 2020-05-29 version 1.1.0 attached, see here for changes info:
http://murga-linux.com/puppy/viewtopic. ... 24#1059324
======================================================
Hi All, attached "trans-tray_1.0.0_noarch.pet" including the latest trans_tray version (v6) and 'trans' see https://github.com/soimort/translate-shell
Development thread: http://murga-linux.com/puppy/viewtopic.php?t=116794
If there comes any further development I will update the .pet accordingly here.
After install it appears in menu category 'Utility'
Requirements:
- gawk (version 4.0 or higher)
Check the gawk version with:
Code: Select all
gawk -V
- yad (version 0.37 or higher)
(if you have lower version of yad, .pet packages version 0.40 attached below)
- xclip (most puppies have it included)
As stated above the 'trans' script is included in the pet (/usr/local/bin/trans)
Usage: From right-click icon > Help:
----------------------------------------------------------------------------------
*** Trans-tray usage help ***
Make your preferred settings by right clicking on the icon and:
- Select translator, e.g. Google, Bing, Yandex (or All).
(note that Yandex may not work often)
- Select language(s) you wish to translate to (Select target language ...), a list will appear then, selecting multiple languages is supported.
- Select some text (no need to copy, just select it), e.g. in browser or text file.
Then by left-clicking the icon, a window will appear with the translated text.
- From menu (right-click) there are some other options, e.g:
- Preferences, to change some default settings, set text-editor
- Translate webpage
- Dialogue mode for translating to two languages of choice side by side
- Set keyboard layout (temporarily)
For installing or upgrading 'trans', select from Menu 'Install/Upgrade trans'.
Required also is to have 'xclip' installed.
----------------------------------------------------------------------------------
Fred