Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 16 Oct 2018, 08:18
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
2Pot Online Translator v0.3.3
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
Argolance


Joined: 06 Jan 2008
Posts: 3410
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Mon 24 Sep 2018, 05:22    Post subject:  2Pot Online Translator v0.3.3  

Bonjour,
2Pot could be called "(Yet) Another Puppy Online Translator". I felt like doing it when I discovered the "trans" CLI through the vovchik's Arrow gXlat - Desktop Google Translator redux.
Wouldn't it be interesting to be able to use trans to translate gettext translation files and to create scripts to do it automatically using the right-click "Open with" menu?
Arrow Noting that, unfortunately, Google produces only rough translations, this feature was not convincing and therefore not used. But now that Arrow DeepL is available, it seemed to me that it could be studied again because it does is nearly perfect!

So, "2Pot" implements this feature (which can, at best, only be a translation assistance) and also allows any standard text translation, playing it back (using your "defaultmediaplayer"), displaying it in separate window, either by using an internal editing window or any text editor such as Geany or Leafpad. 2Pot also gives access to web pages directly translated with Google translate in the browser of your choice.

Required:
      gawk (4.xx release or greater)
      yad (0.17 release or greater)

    Managing gettext files:
      devx (gettext applications and nls files)
      poeditor
      csplit* (see next message)

Languages: English (native), French.

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.
    - 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)

Cordialement
2Pot-0.3.3_all.pet
Description 
pet

 Download 
Filename  2Pot-0.3.3_all.pet 
Filesize  115.89 KB 
Downloaded  4 Time(s) 
181003_151156_782x626_easyshot.jpg
 Description   
 Filesize   101.76 KB
 Viewed   209 Time(s)

181003_151156_782x626_easyshot.jpg

181003_152036_716x218_easyshot.jpg
 Description   
 Filesize   26.42 KB
 Viewed   209 Time(s)

181003_152036_716x218_easyshot.jpg

2Pot-0.3_all.pet
Description 
pet

 Download 
Filename  2Pot-0.3_all.pet 
Filesize  100.25 KB 
Downloaded  15 Time(s) 

_________________


Last edited by Argolance on Yesterday, at 17:47; edited 11 times in total
Back to top
View user's profile Send private message Visit poster's website 
Argolance


Joined: 06 Jan 2008
Posts: 3410
Location: PORT-BRILLET (Mayenne - France)

PostPosted: 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! Shocked
    To run the functionality nevertheless (note that you must have previously launched 2Pot for the default working directories and temporary files to be created):
    Code:
    # pottrans /path/to/file.pot

    - 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, preventing user to run "pot2po" from right click "Open with" menu.
csplit.gz
Description  To be renamed as csplit without gz extention and copied to /bin directory
gz

 Download 
Filename  csplit.gz 
Filesize  101.8 KB 
Downloaded  1 Time(s) 

_________________


Last edited by Argolance on Today, at 03:43; edited 4 times in total
Back to top
View user's profile Send private message Visit poster's website 
mfb

Joined: 22 Mar 2016
Posts: 60

PostPosted: Thu 04 Oct 2018, 04:37    Post subject:  

Hi Argolance et al,

My head thinks this Translation application (v 0.3.3) is an all-time great.

However, I have been correctly described on this Forum as A Nobody.

Thus, views are sought from from Forum regulars , experts and novices

on its merits and limitations and how it may be best used or improved

----------------------------------------------------------

My only language is English, but, as an experiment, I tried auto-translating an uncomplicated single English sentence of 20 words (making 3 numbered points) into more than 50 languages - then finding lots and lots of unexpectedly strange outputs when auto-translating everything back into English.

Then I remembered an internationally renowned professor of mathematics (from Brazil) wrote that the “Guiness Book of Records” reminded him that there is a tribe in Mato Grosso, Brazil that does not even have a word to express the number “two” or the concept of plurality.

----------------------------------------------------------

I opened a spreadsheet and I started typing the names of some Forum members whose opinions would be valued (I stopped at 30 and then sorted them alphabetically) as:
Argolance, BarryK, bigpup, CatDude, fredx181, gjuhasz, icake, jamesbond, L18L, mavrothal, mikeb, mikeslr. MochiMoppel, nicoo7 nosystemdthanks, peebee, radky, rcrsn51, RSH, seaside, SFR, smokey01, stemsee, step, technosaurus, vovchik, woodenshoe, zigbert 6502coder and 666philb.

----------------------------------------------------------

Clicking on the “ToOpPy” signature of Argolance in his post above will show that Argolance had developed his version of the highly acclaimed “Precise 5.7.1“, an "official Puppy version", from "our" Barry Kauler.
Inspection of the Flags shows that long ago Argolance devoted much thought to a dozen European languages and although the native language is stated as English it seems most likely that entire piece was written in French and readers who download v 0.3 and try the WEB PAGE with the pre-loaded “http://tooppy.linux.free.fr” then translating to English or another language should show how well “google” works.
Inspection of the “Credits” will display many of the star names listed above as well as others.

-----------------------------------------------------------

Argolance added lots of Help - so please consider it before responding.


My special thanks to Argolance and to vovchik with whom I had been in contact by PM about earlier translator versions.

EDIT: now even further improved by update from v0.3 to v0.3.3 as available for download in the opening post above.
.

Last edited by mfb on Today, at 07:45; edited 1 time in total
Back to top
View user's profile Send private message 
mfb

Joined: 22 Mar 2016
Posts: 60

PostPosted: Thu 04 Oct 2018, 04:37    Post subject:  

place holder
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
Jump to:  

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
[ Time: 0.2326s ][ Queries: 13 (0.0265s) ][ GZIP on ]