2Pot Online Translator v0.5.1

Word processors, spreadsheets, presentations, translation, etc.
Post Reply
Message
Author
User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

2Pot Online Translator v0.5.1

#1 Post by Argolance »

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/viewto ... &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
Attachments
2Pot-0.5.1_all.pet
(165.68 KiB) Downloaded 280 times
190904_213317_778x763_easyshot.jpg
(149.57 KiB) Downloaded 306 times
Last edited by Argolance on Wed 04 Sep 2019, 20:03, edited 28 times in total.

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#2 Post by Argolance »

  • - *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! :shock:

    - 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: Select all

# pottrans /path/to/file.pot
As attached file, a german translation of 2Pot using pottrans (mo and po files, to be checked!).
Attachments
2Pot_de.tar.gz
(14.64 KiB) Downloaded 523 times
181026_114208_412x142_easyshot.png
(171.89 KiB) Downloaded 847 times
csplit.gz
To be renamed as csplit without gz extention and copied to /bin directory then made executable
(101.8 KiB) Downloaded 576 times
Last edited by Argolance on Fri 26 Oct 2018, 19:31, edited 10 times in total.

mfb

#3 Post by mfb »

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, 09:57, edited 2 times in total.

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#4 Post by Argolance »

Hello,
The DeepL engine no longer seems to be working properly with Translation Shell.

Cordialement.
Last edited by Argolance on Wed 04 Sep 2019, 19:44, edited 1 time in total.

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#5 Post by Argolance »

[Deleted]

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#6 Post by Argolance »

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.

Post Reply