The time now is Mon 09 Dec 2019, 11:48
All times are UTC - 4 |
Author |
Message |
Argolance

Joined: 06 Jan 2008 Posts: 3720 Location: PORT-BRILLET (Mayenne - France)
|
Posted: Mon 24 Sep 2018, 05:22 Post subject:
2Pot Online Translator v0.5.1 |
|
2Pot is a GUI for the CLI trans
1) Translate text using a browser-less online service:
- Bing (https://www.bing.com/translator)
- Google (https://translate.google.fr)
- Yandex (https://translate.yandex.com/)
Required:
- gawk (version 4.0 or greater.
- yad (version 0.17 or greater.
- csplit
- fold
2) Play (Text-to-Speech functionality) text translations back using Google engine or (optional):
- Svoxpico. (Supported languages: en-US, en-GB, fr-FR, es-ES, de-DE, it-IT - devx > Python required
3) Access a web page directly in any language using Google Translate
4) Manage gettext files with right click Open with menu (extra feature).
Required:
- devx (gettext applications and nls files)
- poeditor
2Pot GUI languages support: English, French, Spanish, German.
0.5.1 version (Sept 02, 2019)
- moved Text-to-Speech button from main window to translation windows
- separated preferences box for source and target windows
- added tts Svoxpico in the list if installed
- automatic install/update of trans (adapted from fredx181 script "trans_tray2" http://www.murga-linux.com/puppy/viewtopic.php?t=97458&start=695)
- fixed various minor bugs and malfunctions due to latest trans scripts and new translation engine settings and restrictions
- cosmetics: icons, animated gif, splash window...
0.4.1 version (Oct 25, 2018)
- warning messages if the text to be translated (display and play) window is empty
- processing of texts to be translated regardless of their number of characters, both in DISPLAY and PLAY modes
- playing texts back without taking non-printable characters (line breaks) into account
- progress bars for translation processing (display and play) + cancel button
- close and quit (close all opened windows) separated buttons in the main window
- translating back the target to the source language
- splash window at startup during Internet connection check
- deleting warning messages and parts of the code that have become obsolete
- pottrans: pottrans now totally stand-alone - improved translation process - sound notification when translation process done
- modified integrated gtk-splash to avoid bold font by default
- revision of the 2Pot GUI French translation
- addition of the 2Pot GUI Spanish translation (as pottrans test to be checked/corrected)
- some cosmetic...
0.3.3 version (Oct 15, 2018)
- integration of the old Puppy Precise "gtkdialog-splash" as standalone /usr/bin/gtk-splash for compatibility with newer Puppies
- added warning windows, replaced some Xdialog messages with yaf-splash windows and animated gifs
- many fixes of small bugs or minor malfunctions
- code and feature improvements (mainly in pottrans)
- revision of help files.
- revision of the 2Pot GUI French translation
0.3 version (Oct 03, 2018)
- removed listen mode paragraph by paragraph
- graphical media players instead of command line players (allowing to simply stop, pause, resume or listen to the translation again)
- saving audio files
- preventing user to start new translation while a process is already underway (DISPLAY & PLAY)
- separated help for every source type
- new "DISPLAY", "PLAY" and "JUMP TO" icons
- global details instead of particular details for every language
- character counter for typed text
- warning when the source or destination language is not supported by DeepL
0.2.3 version (Sep 24, 2018)
Thanks to did18, fabrice_035.
Cordialement
 |
Description |
|

Download |
Filename |
2Pot-0.5.1_all.pet |
Filesize |
165.68 KB |
Downloaded |
64 Time(s) |
Description |
|
Filesize |
149.57 KB |
Viewed |
129 Time(s) |

|
_________________
A second life for your PCs...
Last edited by Argolance on Wed 04 Sep 2019, 16:03; edited 28 times in total
|
Back to top
|
|
 |
Argolance

Joined: 06 Jan 2008 Posts: 3720 Location: PORT-BRILLET (Mayenne - France)
|
Posted: Mon 24 Sep 2018, 08:00 Post subject:
|
|
- *It took me a while to understand why the gettext pot files translation functionality failed on recent Puppies. That's because they don't ship csplit (split a file into sections determined by context lines), present in Puppy Precise!
- Puppy Tahr 6.0.5 has yad 0.12 version. Yad version 0.17 or greater is required for 2Pot help texts to be displayed.
- Dpup Stretch identifies *.pot files as Microsoft presentation files. Now, the symbolic link "pot2po" allowing user to run "pottrans" from right click "Open with" menu is present in the main "Open with" directory.
If not:
Code: | # pottrans /path/to/file.pot |
As attached file, a german translation of 2Pot using pottrans (mo and po files, to be checked!).
Description |
|

Download |
Filename |
2Pot_de.tar.gz |
Filesize |
14.64 KB |
Downloaded |
291 Time(s) |
Description |
|
Filesize |
171.89 KB |
Viewed |
665 Time(s) |

|
Description |
To be renamed as csplit without gz extention and copied to /bin directory then made executable
|

Download |
Filename |
csplit.gz |
Filesize |
101.8 KB |
Downloaded |
344 Time(s) |
_________________
A second life for your PCs...
Last edited by Argolance on Fri 26 Oct 2018, 15:31; edited 10 times in total
|
Back to top
|
|
 |
mfb
Joined: 22 Mar 2016 Posts: 91
|
Posted: Thu 04 Oct 2018, 04:37 Post subject:
|
|
This complex and innovative project is a pleasure to run because its power is so easily used by novices (like me).
.
Last edited by mfb on Fri 26 Oct 2018, 05:57; edited 2 times in total
|
Back to top
|
|
 |
Argolance

Joined: 06 Jan 2008 Posts: 3720 Location: PORT-BRILLET (Mayenne - France)
|
Posted: Sun 02 Dec 2018, 11:17 Post subject:
|
|
Hello,
The DeepL engine no longer seems to be working properly with Translation Shell.
Cordialement.
_________________
A second life for your PCs...
Last edited by Argolance on Wed 04 Sep 2019, 15:44; edited 1 time in total
|
Back to top
|
|
 |
Argolance

Joined: 06 Jan 2008 Posts: 3720 Location: PORT-BRILLET (Mayenne - France)
|
Posted: Fri 18 Jan 2019, 19:47 Post subject:
|
|
[Deleted]
_________________
A second life for your PCs...
|
Back to top
|
|
 |
Argolance

Joined: 06 Jan 2008 Posts: 3720 Location: PORT-BRILLET (Mayenne - France)
|
Posted: Wed 04 Sep 2019, 15:51 Post subject:
|
|
Bonjour,
0.5.1 version available.
Please see the first post.
Many features that were no longer working were fixed: an update had become necessary...
Cordialement.
_________________
A second life for your PCs...
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|