# Make eltrans work again

**URL:** <https://forum.elivelinux.org/t/make-eltrans-work-again/1781>\
**Category:** Dev\
**Tags:** eltrans\
**Created:** [February 1, 2020, 2:48pm UTC](https://forum.elivelinux.org/t/make-eltrans-work-again/1781 "2020-02-01T14:48:23Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Franc](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/franc/32/729_2.png) [@Franc](https://forum.elivelinux.org/u/Franc)\
**Post date:** [May 20, 2020, 9:12pm UTC](https://forum.elivelinux.org/t/make-eltrans-work-again/1781/22 "2020-05-20T21:12:42Z")

</div>

The worm in the fruit... again, again... even in reverse ways, always....

---

<div class="post-metadata">

**Author:** ![triantares](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/triantares/32/2550_2.png) [@triantares](https://forum.elivelinux.org/u/triantares)\
**Post date:** [May 20, 2020, 9:15pm UTC](https://forum.elivelinux.org/t/make-eltrans-work-again/1781/23 "2020-05-20T21:15:00Z")

</div>

Yeah, they say it's a man's world ........ but never, ever, no way. :eyepopping:  
The salt of the earth.  
A few years ago I was surprised how a guy on win8 ssh'ed into my box and actually saw more GUI of my machine then I did at that moment (we were sitting next to each other) 😱

Going off topic tho. :offtopic:

---

<div class="post-metadata">

**Author:** ![Thanatermesis](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thanatermesis/32/3_2.png) [@Thanatermesis](https://forum.elivelinux.org/u/Thanatermesis)\
**Post date:** [May 20, 2020, 10:03pm UTC](https://forum.elivelinux.org/t/make-eltrans-work-again/1781/24 "2020-05-20T22:03:51Z")

</div>

> [@TheTechRobo](#):
>
> True, but most of the sw in elive is on github.

because I originally put it on there, and then I was lazy to move it out. I wanted to move it out but it was too much work, and since the git structure is hashed / checksumed and all, i don't think there's any risk by having it stored there for now (no M$ stamps on the code lol)

Think about that, without notice, our systems could become something like _"Welcome to M$ Elive"_ :eyepopping: 🤦‍♀️

> [@triantares](#):
>
> ### [Microsoft is bringing Linux GUI apps to Windows 10](https://www.theverge.com/2020/5/19/21263377/microsoft-windows-10-linux-gui-apps-gpu-acceleration-wsl-features)

I can understand people wanting to run "windows applications" on linux (like adobe software), that's a point... 🤔

But I cannot understand the reason to want running the nice linux applications over an insecure, bloated, and virus-prone, inoperating-system :rofl2: :rofl2: :rofl2: :rofl2: :rofl2: :rofl2: :rofl2: :rofl2:

---

<div class="post-metadata">

**Author:** ![Thanatermesis](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thanatermesis/32/3_2.png) [@Thanatermesis](https://forum.elivelinux.org/u/Thanatermesis)\
**Post date:** [May 20, 2020, 10:07pm UTC](https://forum.elivelinux.org/t/make-eltrans-work-again/1781/25 "2020-05-20T22:07:12Z")

</div>

Anyways, let's come back to the topic of this thread :offtopic:

Suggestions / comments about what eltrans should or not should have in its updated version?

---

<div class="post-metadata">

**Author:** ![TheTechRobo](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thetechrobo/32/3394_2.png) [@TheTechRobo](https://forum.elivelinux.org/u/TheTechRobo)\
**Post date:** [May 21, 2020, 5:29pm UTC](https://forum.elivelinux.org/t/make-eltrans-work-again/1781/26 "2020-05-21T17:29:05Z")

</div>

> [@triantares](#):
>
> ![](https://cdn.vox-cdn.com/uploads/chorus_asset/file/7395361/favicon-64x64.0.ico) [The Verge – 19 May 20](https://www.theverge.com/2020/5/19/21263377/microsoft-windows-10-linux-gui-apps-gpu-acceleration-wsl-features)
> 
> ![](https://cdn.vox-cdn.com/thumbor/fx_j1CztVD2UW8b0uzPCzZ_2s8Q=/0x107:1219x745/fit-in/1200x630/cdn.vox-cdn.com/uploads/chorus_asset/file/19986222/windowslinux.jpg)
> 
> ### [Microsoft is bringing Linux GUI apps to Windows 10](https://www.theverge.com/2020/5/19/21263377/microsoft-windows-10-linux-gui-apps-gpu-acceleration-wsl-features)
> 
> Developers will be able to run Linux apps side by side with Windows ones

NOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

> [@Thanatermesis](#):
>
> Think about that, without notice, our systems could become something like _"Welcome to M$ Elive"_ :eyepopping: 🤦‍♀️

Lol

> [@Thanatermesis](#):
>
> But I cannot understand the reason to want running the nice linux applications over an insecure, bloated, and virus-prone, inoperating-system :rofl2: :rofl2: :rofl2: :rofl2: :rofl2: :rofl2: :rofl2: :rofl2:

It's probably because they don't know anything other than mac and windoze. We should have another windows refund day :madness:

> [@Thanatermesis](#):
>
> Suggestions / comments about what eltrans should or not should have in its updated version?

I just think it should be clearer and less "popuppy"... And has my account been registered @Thanatermesis because I cannot login to either eltrans or [dev.elivecd.org](http://dev.elivecd.org) ("Username not found" with Thetechrobo, TheTechRobo, and thetechrobo)

---

<div class="post-metadata">

**Author:** ![Thanatermesis](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thanatermesis/32/3_2.png) [@Thanatermesis](https://forum.elivelinux.org/u/Thanatermesis)\
**Post date:** [May 21, 2020, 9:54pm UTC](https://forum.elivelinux.org/t/make-eltrans-work-again/1781/27 "2020-05-21T21:54:14Z")

</div>

> [@TheTechRobo](#):
>
> I just think it should be clearer and less "popuppy".

I will need to know the specific popup to remove and the "why" 🙂 (so, it is meant to be put for a reason, like a needed explanation), and/or a suggestion of how to improve the popup (like "foo and bar are for the same thing and could be put in a same popup"), but we will look for these details after to have it working...

> [@TheTechRobo](#):
>
> And has my account been registered @Thanatermesis because I cannot login to either eltrans or [dev.elivecd.org](http://dev.elivecd.org) ("Username not found" with Thetechrobo, TheTechRobo, and thetechrobo)

yeah looks like you don't have it, send me an email with an username and a password you want to use for it and i will create you the account (so you can for now login on [dev.elivecd.org](http://dev.elivecd.org) site but not use eltrans until its rewrited )

---

<div class="post-metadata">

**Author:** ![TheTechRobo](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thetechrobo/32/3394_2.png) [@TheTechRobo](https://forum.elivelinux.org/u/TheTechRobo)\
**Post date:** [May 22, 2020, 4:07pm UTC](https://forum.elivelinux.org/t/make-eltrans-work-again/1781/28 "2020-05-22T16:07:23Z")

</div>

> [@Thanatermesis](#):
>
> I will need to know the specific popup to remove

meaning, not zenity

I love zenity but all the popups get annoying sometimes...And I'm always worried the program crashed when i don't see a popup for about ten seconds

> [@Thanatermesis](#):
>
> send me an email with an username and a password you want to use for it

I think you PMed me, asking...it should be somewhere...Check the list of PMs

---

<div class="post-metadata">

**Author:** ![stoppy98](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/stoppy98/32/2337_2.png) [@stoppy98](https://forum.elivelinux.org/u/stoppy98)\
**Post date:** [May 24, 2020, 4:32pm UTC](https://forum.elivelinux.org/t/make-eltrans-work-again/1781/29 "2020-05-24T16:32:25Z")

</div>

> [@TheTechRobo](#):
>
> your

i'm partly a microsoft user tho.

> [@TheTechRobo](#):
>
> ps i added a pull request for grammar

Thanks, i rarely open it because i'm workin on a closed source project and the repo is on our server. We're lazy to pay

---

<div class="post-metadata">

**Author:** ![Thanatermesis](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thanatermesis/32/3_2.png) [@Thanatermesis](https://forum.elivelinux.org/u/Thanatermesis)\
**Post date:** [June 4, 2020, 11:22pm UTC](https://forum.elivelinux.org/t/make-eltrans-work-again/1781/30 "2020-06-04T23:22:27Z")

</div>

> [@TheTechRobo](#):
>
> I love zenity but all the popups get annoying sometimes...And I'm always worried the program crashed when i don't see a popup for about ten seconds

well, we are talking about 2 things here:

- first, if a popup is annoying or we can improve them in a better way, we need to say which one specifically and what is the proposed change
- by other side, if the wait between one message and another takes "too long" we need to know "which ones" in order to see if this part can be optimized OR optionally include an "in progress" popup (just like the installer does, it always includes an "in progress, with funny messages" between all its steps

_in any case I'm going to review a bit all of them between the rewrite_

> [@TheTechRobo](#):
>
> I think you PMed me, asking...it should be somewhere...Check the list of PMs

oops, i still need to review around 50 posts on the forum including private messages, so maybe is there 🙂 will be faster if you just send me an email btw (i dont know when I will finish to review my notifications, which btw **i have disabled my private messages because i cannot afford the time to answer them** )

---

<div class="post-metadata">

**Author:** ![Thanatermesis](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thanatermesis/32/3_2.png) [@Thanatermesis](https://forum.elivelinux.org/u/Thanatermesis)\
**Post date:** [June 5, 2020, 1:32am UTC](https://forum.elivelinux.org/t/make-eltrans-work-again/1781/31 "2020-06-05T01:32:49Z")

</div>

BUMP [https://dev.elivecd.org/changeset/4949](https://dev.elivecd.org/changeset/4949)

_(translation: doing some work on eltrans...)_

---

<div class="post-metadata">

**Author:** ![TheTechRobo](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thetechrobo/32/3394_2.png) [@TheTechRobo](https://forum.elivelinux.org/u/TheTechRobo)\
**Post date:** [June 8, 2020, 1:48pm UTC](https://forum.elivelinux.org/t/make-eltrans-work-again/1781/32 "2020-06-08T13:48:54Z")

</div>

> [@Thanatermesis](#):
>
> will be faster if you just send me an email btw

Sent you an email a few days ago, still no response.

> [@Thanatermesis](#):
>
> which ones

Seems to be while it's communicating with the server.

I entered my non-existent username and because there were no popups i thought it crashed, and i ended up having like three instances of eltrans (because i was so confused)

> [@Thanatermesis](#):
>
> I will need to know the specific popup to remove

Well, the main goal of my eltrans rewrite (that is now defunct because I can't use elive tools easily in python, it would be a lot more work for me) was to get rid of the zenity, I like having a normal window, but if there's an "in progress" bar at least during the lengthy operations that would be good 🙂

---

<div class="post-metadata">

**Author:** ![triantares](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/triantares/32/2550_2.png) [@triantares](https://forum.elivelinux.org/u/triantares)\
**Post date:** [June 8, 2020, 3:09pm UTC](https://forum.elivelinux.org/t/make-eltrans-work-again/1781/33 "2020-06-08T15:09:30Z")

</div>

> [@TheTechRobo](#):
>
> I can't use elive tools easily in python

If they're zsh or bash based they're easily executed from python with "import os"

> **[How to Execute Bash Shell Commands with Python](https://linuxhandbook.com/execute-shell-command-python/)**
>
> A sysadmin would need to execute shell commands in Python scripts. Learn how to execute shell commands in Python.

or "import subprocess"

> <https://unix.stackexchange.com/questions/190495/how-to-execute-a-bash-command-in-a-python-script>

BTW, zenity allows progress bars:

> man zenity |grep progress  
> --progress  
> Display progress indication dialog  
> Pulsate progress bar  
> Display a progress dialog while searching for all the postscript files in your home directory  
> find $HOME -name '\*.ps' | zenity --progress --pulsate

---

<div class="post-metadata">

**Author:** ![Thanatermesis](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thanatermesis/32/3_2.png) [@Thanatermesis](https://forum.elivelinux.org/u/Thanatermesis)\
**Post date:** [June 8, 2020, 3:38pm UTC](https://forum.elivelinux.org/t/make-eltrans-work-again/1781/34 "2020-06-08T15:38:06Z")

</div>

> [@TheTechRobo](#):
>
> Sent you an email a few days ago, still no response.

sorry, I didn't had time YET to enable the account, but don't worry, eltrans is not yet finished (almost, seems to work good but I still betatesting it with all the options and modes). @hippytaff is also waiting my answer from email to enable the eltrans account 😉 - I will finish it soon, in 1-2 days max

@Rebel450 the reason of why german translations was so good is because it was one of the few languages that had a big work on the translations 😃 , just saw these statistics while working on the new eltrans

> [@TheTechRobo](#):
>
> Seems to be while it's communicating with the server.

well, in any case the new version seems to be very fast now, also I have rewrited the entire "counting messages" code and now it takes just 2-3 seconds to count instead of 10-20 that was before :happy_dance:

> [@TheTechRobo](#):
>
> and i ended up having like three instances of eltrans (because i was so confused)

no more multiple instances will exist with the new version 🙂

> [@TheTechRobo](#):
>
> Well, the main goal of my eltrans rewrite (that is now defunct because I can't use elive tools easily in python, it would be a lot more work for me) was to get rid of the zenity, I like having a normal window, but if there's an "in progress" bar at least during the lengthy operations that would be good 🙂

so I assume this is solved now 🙂 you will tell me when using the new version of eltrans soon...

---

<div class="post-metadata">

**Author:** ![TheTechRobo](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thetechrobo/32/3394_2.png) [@TheTechRobo](https://forum.elivelinux.org/u/TheTechRobo)\
**Post date:** [June 8, 2020, 7:26pm UTC](https://forum.elivelinux.org/t/make-eltrans-work-again/1781/35 "2020-06-08T19:26:02Z")

</div>

> [@triantares](#):
>
> If they're zsh or bash based they're easily executed from python with "import os" or "import subprocess"

Well, I was trying to use minimal shell usage 🙂, trying to make it as "pythonic" as possible, plus it wasn't going to work anyway because I have NO CLUE how subversion works and have no intention of learning lmao

Also, I'm worried I'll do something wrong...i mean, it's hard to keep track of

> [@Thanatermesis](#):
>
> - functions should be called with arguments, so variables must be passed in that way instead of using global variables, unless a global variable has its own purpose
> - variables must be set as local (as much as possible) in order to make the code more reliable
> - an important thing is to make the code more readable, this means using better naming convention, in short, an english sentence sorted in the inverse way just like an object parent to the object children, for example using something like "eltrans\_translation\_file\_get" instead of "get\_file\_translation\_eltrans" (just what wordpress and many things do in an horrible way)
> - using elive-tools functions instead of own functions made (if they are available), you have them pressing el\_

Also, I have no idea what elive-tool to use for what because there are no man pages, no documentation, no nothing that I could find...and i really dont want to sift through source code...

also, I have another project [(Palc)](https://github.com/thetechrobo/python-text-calculator) that i want to work on, so eltrans would barely be developed.

One last con of it in python—@Thanatermesis cannot help develop it because he does not know python, let alone tkinter, so it'd be best written in bash or C.

---

<div class="post-metadata">

**Author:** ![Thanatermesis](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thanatermesis/32/3_2.png) [@Thanatermesis](https://forum.elivelinux.org/u/Thanatermesis)\
**Post date:** [June 9, 2020, 7:17pm UTC](https://forum.elivelinux.org/t/make-eltrans-work-again/1781/36 "2020-06-09T19:17:13Z")

</div>

@TheTechRobo don't worry, as said yesterday is almost finished (which means fully working) 🙂 im finishing to betatest before to announce it as working (people using it) 😃

> [@TheTechRobo](#):
>
> One last con of it in python—@Thanatermesis cannot help develop it because he does not know python, let alone tkinter, so it'd be best written in bash or C.

yep, thats an important point

---

<div class="post-metadata">

**Author:** ![TheTechRobo](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thetechrobo/32/3394_2.png) [@TheTechRobo](https://forum.elivelinux.org/u/TheTechRobo)\
**Post date:** [June 9, 2020, 7:36pm UTC](https://forum.elivelinux.org/t/make-eltrans-work-again/1781/37 "2020-06-09T19:36:01Z")

</div>

> [@Thanatermesis](#):
>
> im finishing to betatest before to announce it as working (people using it)

Is there any way we can help betatest? (e.g. putting a package called `eltrans-beta` on the package-server)

I cannot wait until I can help translate!!

oh — I said earlier, kind of like a joke, that maybe there could be an eltrans for the website? (find it [here](https://forum.elivelinux.org/t/os-and-applications-comparison/1305/3)) I also just saw that poedit supports wordpress translations...so...

---

<div class="post-metadata">

**Author:** ![Thanatermesis](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thanatermesis/32/3_2.png) [@Thanatermesis](https://forum.elivelinux.org/u/Thanatermesis)\
**Post date:** [June 10, 2020, 2:42am UTC](https://forum.elivelinux.org/t/make-eltrans-work-again/1781/38 "2020-06-10T02:42:05Z")

</div>

> [@TheTechRobo](#):
>
> I cannot wait until I can help translate!!

lol

> [@TheTechRobo](#):
>
> Is there any way we can help betatest? (e.g. putting a package called `eltrans-beta` on the package-server)

tomorrow I will have it ready! 😉

there's a preview:

 ![image](https://forum.elivelinux.org/uploads/default/original/2X/a/ae00706f0f2a2744b5df64581be31dec206c276a.png)

Some improvements:

- much more faster counting messages
- improved sorting of the list (first on the list will be always the best options to pick to translate)
- number of phrases displayed too
- translations strictly requires to have a minimal of the 90% of messages proofreaded 🙂
- improved interface loops and popups and all
- improved stability and better management of strange cases

_note: the requirement for proofreading is made in order to have good quality (+ understandable + short + clever + autotranslatable) messages before someone translates them, otherwise the translation will be lost and also could be a translation of a wrong message_, I think that @triantares will like that point 🙂

\_note2: I added an extra small update to the Proofreading howto: [https://forum.elivelinux.org/t/eltrans-how-proofread-the-original-messages-of-elive/1055\_](https://forum.elivelinux.org/t/eltrans-how-proofread-the-original-messages-of-elive/1055_)

---

<div class="post-metadata">

**Author:** ![TheTechRobo](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thetechrobo/32/3394_2.png) [@TheTechRobo](https://forum.elivelinux.org/u/TheTechRobo)\
**Post date:** [June 10, 2020, 1:09pm UTC](https://forum.elivelinux.org/t/make-eltrans-work-again/1781/39 "2020-06-10T13:09:42Z")

</div>

> [@Thanatermesis](#):
>
> tomorrow I will have it ready!

:applause: :boogie: :coding: :dance: :excited: :impatient: :hooray: :happy_dance: :happybounce: :happy: :furrydance: :smiley14: :runningfast: :runningfast: :omgomgomg: :typing: :w00t:

---

<div class="post-metadata">

**Author:** ![TheTechRobo](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thetechrobo/32/3394_2.png) [@TheTechRobo](https://forum.elivelinux.org/u/TheTechRobo)\
**Post date:** [June 10, 2020, 2:20pm UTC](https://forum.elivelinux.org/t/make-eltrans-work-again/1781/40 "2020-06-10T14:20:08Z")

</div>

...uh...while betatesting (I ran `apui eltrans` and then `eltrans`)...

```bash
~ ❯❯❯ eltrans 100
lynx: Invalid Option: -timeout
lynx: Invalid Option: -timeout
lynx: Invalid Option: -timeout
lynx: Invalid Option: -timeout
^C
~ ❯❯❯

```

And, if I leave it for even longer...

```bash
~ ❯❯❯ eltrans
lynx: Invalid Option: -timeout
lynx: Invalid Option: -timeout
lynx: Invalid Option: -timeout
lynx: Invalid Option: -timeout
lynx: Invalid Option: -timeout
lynx: Invalid Option: -timeout
lynx: Invalid Option: -timeout
E: unable to get the 'package_url' for package 'eltrans' distro 'buster' arch '_all' :

lynx: Invalid Option: -timeout
lynx: Invalid Option: -timeout
lynx: Invalid Option: -timeout
lynx: Invalid Option: -timeout
lynx: Invalid Option: -timeout
lynx: Invalid Option: -timeout
lynx: Invalid Option: -timeout
E: unable to get the 'package_url' for package 'eltrans' distro 'buster' arch '_all' :

lynx: Invalid Option: -timeout
^C

```

:baffled:

---

<div class="post-metadata">

**Author:** ![Thanatermesis](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thanatermesis/32/3_2.png) [@Thanatermesis](https://forum.elivelinux.org/u/Thanatermesis)\
**Post date:** [June 10, 2020, 2:53pm UTC](https://forum.elivelinux.org/t/make-eltrans-work-again/1781/41 "2020-06-10T14:53:47Z")

</div>

> [@TheTechRobo](#):
>
> lynx: Invalid Option: -timeout

this has been a small issue in elive-tools some days ago, when you have an issue with something, make sure you are using the last version of all the packages in your system (just run "apug"), this should solve it 🙂

[Previous page](https://forum.elivelinux.org/t/make-eltrans-work-again/1781.md?page=1)

[Next page](https://forum.elivelinux.org/t/make-eltrans-work-again/1781.md?page=3)
