UPDATE: New trans-tray v1.2, some changes, see info here: viewtopic.php?p=59111#p59111
--------------------------------------------------------------------------------------------------------
Hi All, attached "trans-tray_1.1.0_noarch.pet" (earlier shared Here) 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 (thanks to stemsee, vovchik, Argolance and others)
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
(most modern Puppies should have it)
- 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 ***
1
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