View Full Version : EPG-translator (download thread)
Rob van der Does
29-08-13, 17:38
Attached a plugin that will translate the EPG-text. Thanks to Kashmir, see
https://sites.google.com/site/kashmirplugins/home/translator
Will be on the ViX-feeds from buyild 730
Be aware: the blue button causes Enigma to crash. The author was not able to fix that for ViX.
For the rest the plugin works fine.
abu baniaz
23-07-14, 04:34
Since there is an existing thread, Version 0.9
can I have the link to the ipk please. I cant find it on the feeds since I update from 016 to 023.
Rob van der Does
02-08-14, 15:50
I have no idea what's wrong, but here is the ipk: 36392
abu baniaz
07-12-20, 03:37
enigma2-plugin-extensions-translator_1.4rc1-fhd-edition_all.ipk
Here's an rc2 (I think...built it by hand).
61016
I may get around to a v1.5. There's a lot of code rationalization that could be done.
But I'll take longer over that, and actually install it to test things...
EDIT: And also fit it for python3. Currently it has some byte vs. str issues, for which 2to3 is no help at all.
Thank you very much for fixing this
Here's an rc2 (I think...built it by hand)........which left all of the files owned by my uid/gid.
Here's one with them owned by root, in case anyone worries.
61034
I discovered this when I actually installed it to work on it today. Making progress. It now understands all of the www html5 entities and (probably) works under python3.
More tidying up to do yet.
But at least I now know what it looks like. I also might extend my German vocabulary (a little), as I have to translate into something non-English.
Hi,
if you have problems with the terrible German language ask me:-)
Ralf
Here's a tidied-up(?) version.
61071
All YouTube code has been removed (it didn't work).
The code has been rationalized (e.g. the code to call to translate.google.com only exists once).
It can handle all w3.org HTML5 entities.
It should work with Python3 (and if it doesn't any changes should be trivial).
The Info page is now translated to both the environment language and (if different) the target language. (And this is done using Google translate...).
Norwegian translation (and possibly others?) now works. (It was not working when I started...)
If all looks OK I'll bump it to v2.0, and put it on github, with some documentation
Working for me on ViX 5.4.003. Thank you :thumbsup:
61072
I didn't realise that if you press 'menu' you can turn off the original epg and just show the translation.
Left and right buttons also take you through the epg for the channel you're watching.
Working for me on ViX 5.4.003. Thank you :thumbsup:Thanks for reporting.
I didn't realise that if you press 'menu' you can turn off the original epg and just show the translation.
Left and right buttons also take you through the epg for the channel you're watching.If you press OK you can enter any text to get it translated too.
And the Blue button toggles hiding the screen.
The source code and ipk (plus the script to generate the ipk on changes) is now all at:
https://github.com/original-birdman/Vix-EPGTranslator/
Works fine here :thumbsup:
I just wanted to ask if a option could be added when you use epg guide or single epg. When in either epg you scroll across to the epg your interesting in and select info it will show with red similar green add timer, if you press menu you see epg translator click it and it only shows the first epg and not the epg your on.
Could a option be added in the info option ? mapped to yellow or blue thats not being used or when selecting the epg translator it will translate the epg your on??
I beleave something was add like this in epgtranslatorlite gutemine
EDIT: I've managed to crash this myself!
I'll post an rc2 once I've worked out why and fixed it.
EDIT2: Found the culprit!
Problems when starting up the EPG browser when playing back a recording as the EPG cache has no idea about this item (could be from years ago). I have a fix, but will need to tidy it up and test a little more.
Original post ==========
I've put a test version on github, under the Dev stream.
If this looks OK I'll make a release version.
https://github.com/original-birdman/Vix-EPGTranslator/tree/Dev
The actual 2.01-rc file is (link removed, as there are bugs to be fixed....)
Notable changes:
You can no longer limit the number of items (forward from now) that it will translate. It will work for as far forward you wish to go. As a result it also no longer (confusingly) wraps round at each end of the list.
It caches items it has translated. By default (the 0 setting) it will remember them until they would no longer show up in an EPG. You can also set the maximum cache time to a number of hours (from the configuration menu).
The plugin will also translate items which show in some EventView windows (the ones when you press Info - or equiv - when watching a programme or within the Grid EPG. This window only show now&next.
Discussion in the discussion thread, please at:
https://www.world-of-satellite.com/showthread.php?63672-EPG-Translator-(Discussion-thread)&p=507615&viewfull=1#post507615
I've fixed the issues that caused my crash, and tidied up a few others things in the process.
(The config menu now has larger, easier to read text).
The rc2 ipk file is at:
(link removed - updated version available)
There's a README file in the plugin's directory (so it gets installed onto your box) that explains what it does.
Discussion in the discussion thread, please at:
https://www.world-of-satellite.com/showthread.php?63672-EPG-Translator-(Discussion-thread)&p=507699&viewfull=1#post507699
Here's 2.01-rc3.
It now translates Titles as well as Descriptions.
It puts the current service/channel name into the Title in its EPG browser.
It might now work with ATV, etc...
NOTE: That rc release won't be on github anymore.
(attachment removed - updated version available).
Discussion - bug reports in the discussion thread (https://www.world-of-satellite.com/showthread.php?63672-EPG-Translator-(Discussion-thread)&p=507893&viewfull=1#post507893) please.
Update to (possibly) fix descriptions with [] tags at the start.
This is 2.0-rc4.
(attachment removed - updated version available).
This is 2.0-rc5.
It fixes EventView translations, allows for longer descriptions and puts the version number into the configuration menu.
(attachment removed - updated version available).
Discussion and bug reports to the discussion thread (https://www.world-of-satellite.com/showthread.php?63672-EPG-Translator-(Discussion-thread)&p=507978&viewfull=1#post507978) please.
This is 2.0-rc6.
It fixes EventView translations for non-Vix distros. (Well, hopefully).
(attachment removed - updated version available).
Discussion and bug reports to the discussion thread (https://www.world-of-satellite.com/showthread.php?63672-EPG-Translator-(Discussion-thread)&p=508100&viewfull=1#post508100) please.
This is 2.0-rc7.
It fixes a crash if a description is empty, and also fixes EventView windows, which were cacheing the untranslated values, not the translated ones (a result of an incomplete variable name tidy-up).
(attachment removed - updated version available).
Discussion and bug reports to the discussion thread (https://www.world-of-satellite.com/showthread.php?63672-EPG-Translator-(Discussion-thread)&p=508110&viewfull=1#post508110) please.
This is 2.01-rc8. (All of the others should have been 2.01-rcX as well - fortunately fixed it here).
Barring any crashes I intend this to be the last rc before 2.01-release.
(attachment removed - updated version available).
Discussion and bug reports to the discussion thread (https://www.world-of-satellite.com/showthread.php?63672-EPG-Translator-(Discussion-thread)&p=508248&viewfull=1#post508248) please.
Here is 2.01-rc9.
Hopefully this time it will be OK and I can move to a 2.01-release.
(attachment removed - updated version available).
Discussion and bug reports to the discussion thread (https://www.world-of-satellite.com/showthread.php?63672-EPG-Translator-(Discussion-thread)&p=508308&viewfull=1#post508308) please
Given that there no longer seem to be any failures reported I'll promote this to a release.
61324
Then I can look at whether it is possible to get this info into the SecondInfoBar, and the InfoBarEPG's EventView.
Also which flags and languages to use...
Next release candidate here.
61475
Discussion and bug reports to the discussion thread (https://www.world-of-satellite.com/showthread.php?63672-EPG-Translator-(Discussion-thread)&p=509475&viewfull=1#post509475) please
2.02.rc2 here now.
61536
This corrects a variable name typo, that somehow crept into the previous version. Sorry for that...
Discussion and bug reports to the discussion thread (https://www.world-of-satellite.com/showthread.php?63672-EPG-Translator-(Discussion-thread)&p=509647&viewfull=1#post509647) please
EDIT: attachment replaced to fix a second type that came from nowhere(?)!
Thanks for the plug in. I'm finding that longer translations don't fit inside the box and some of the text is missing (goes outside the box)
Is there a fix for this?
... the plugin is now in the feeds, did you use the ipk in post #28?
Thanks for the plug in. I'm finding that longer translations don't fit inside the box and some of the text is missing (goes outside the box)
Is there a fix for this?Could you provide a screen shot?
Text wrapping isn't done by this plugin at all - it just puts text into an object that does it (although that is probably dependent on the skin you use).
63145 the text is going out of the box.
im running openvix
System OE: OE-Alliance 5.0
Firmware version: OpenViX 6.0.004 (2021-12-09)
Kernel / Drivers: 4.1.20 / 20211026
not sure if that makes a difference
...which skin are you using?
red-HD
the translator is perfect on my older receiver running 5.4 openvix using the same skin
...which skin are you using?Actually, the plugin is setting a skin for that screen.
red-HD
the translator is perfect on my older receiver running 5.4 openvix using the same skinThe relative size of the flags indicates that you don't have a full-HD screen.
If I force my set-up to use Skin_small.py I see the same thing. Sorry about that.
I'll get a fix in later....
EDIT:
https://github.com/oe-alliance/oe-alliance-plugins/pull/536
Is the update available in the feeds or is there an ipk to download?
Is the update available in the feeds or is there an ipk to download?It won't arrive in the feeds until 6.007 (I suspect).
If you're comfortable with copying files onto the box you could put this (unzipped) into /usr/lib/enigma2/python/Plugins/Extensions/EPGTranslator.
63156
It just changes the width of three widgets from 750 to 720.
Thanks I'll give that a go
It won't arrive in the feeds until 6.007 (I suspect).Depends on STB. Some are built after that.
I added the file and all is ok. Thanks for your support
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.