Jump to content


Photo

Language assistance requested...


  • Please log in to reply
998 replies to this topic

Re: Language assistance requested... #121 Pr2

  • PLi® Contributor
  • 6,182 posts

+261
Excellent

Posted 6 August 2018 - 09:49

@IanSav,

 

You don't need SMB/Samba to place your code, simply use a FTP client like FileZilla.

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Language assistance requested... #122 IanSav

  • PLi® Contributor
  • 1,491 posts

+51
Good

Posted 6 August 2018 - 09:51

Hi Pr2,

 

My development environment is coded to use Samba shares (in both directions) and lots of scripts etc to automate testing code.

 

Regards,

Ian.



Re: Language assistance requested... #123 IanSav

  • PLi® Contributor
  • 1,491 posts

+51
Good

Posted 7 August 2018 - 03:58

Hi,

 

To bring this thread back on topic...

 

There has only been one download of the VirtualKeyBoard code.  Has everyone lost interest in the enhancement?

 

Regards,

Ian.



Re: Language assistance requested... #124 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 7 August 2018 - 06:09

Maybe because it’s summer holiday time and at least in Germany it’s very hot so I guess not many want to sit before their stb or PC.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Language assistance requested... #125 IanSav

  • PLi® Contributor
  • 1,491 posts

+51
Good

Posted 7 August 2018 - 06:20

Hi Betacentauri,

 

Maybe because it’s summer holiday time and at least in Germany it’s very hot so I guess not many want to sit before their stb or PC.

 

Thank you for the information.  (It is a cold winter here.)  I will be a little more patient.

 

Regards,

Ian.



Re: Language assistance requested... #126 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 7 August 2018 - 06:27

https://github.com/O...xbox-xml/pull/7


Open Vision sources: https://github.com/OpenVisionE2


Re: Language assistance requested... #127 WanWizard

  • PLi® Core member
  • 70,562 posts

+1,813
Excellent

Posted 9 August 2018 - 11:27

Moved the tuxbox discussion to https://forums.openp...-common-updates


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Language assistance requested... #128 IanSav

  • PLi® Contributor
  • 1,491 posts

+51
Good

Posted 9 August 2018 - 12:24

Hi,

 

Thank you WanWizard for cleaning up this thread.

 

There have now been 6 downloads of the test kit so far.  Does anyone have any feedback, bug reports or requests for me to consider?

 

Regards,

Ian.



Re: Language assistance requested... #129 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 9 August 2018 - 20:03

I've got the code loaded, I'm familiar with its contents, and the Python file has been revised. 5 +
Tried out with my box not yet, due to lack of time. Thank you for being added the Estonian keyboard. I'm trying to test out tomorrow morning, but I don't promise that with my Time is OK.

DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: Language assistance requested... #130 IanSav

  • PLi® Contributor
  • 1,491 posts

+51
Good

Posted 10 August 2018 - 02:21

Hi Zeros,

 

Thank you for the update.  I welcome your testing and feedback.  Please do not be offended If I made any mistakes.  If there is *anything* that can be improved please tell me.

 

If you know anyone else, particularly translators, who could test other languages then please ask them to have a look.

 

Regards,

Ian.



Re: Language assistance requested... #131 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 10 August 2018 - 05:42

Hi!
I tested, but I am not sure, if I made the procedure correctly.
That part from your tutorial a bit not clear for me:
4) The contents of the file keymap-extract.xml should be added to:
 /usr/share/enigma2/keymap.xml
   (NOTE: Save a copy of the keymap to restore your system.)
--
I just copy the content of keymap-extract.xml and pasted it to the end of keymap.xml, is it correct?
--
5) The contents of the file skin-extract.xml should be added to a skin on
   your receiver.
   a) Add the font line to the <fonts> section of the skin.
   b ) Add the parameter lines to the <parameters> section of the file.
--
What should I do with a) and b )?
I did what I understood, maybe I missed something. Before it worked, now after changes next test:
I chosed under Plugins YouTube
YouTube->Search->Search videos->
I can choose Keyboard.
If I press it, your work should Go in progress.I get GSOD. I think the error is in me, but where?

--

GSOD text:

 

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/ActionMap.py", line 49, in action
  File "/usr/lib/enigma2/python/Plugins/Extensions/YouTube/YouTubeSearch.py", line 244, in openKeyboard
  File "/usr/lib/enigma2/python/mytest.py", line 287, in openWithCallback
    dlg = self.open(screen, *arguments, **kwargs)
  File "/usr/lib/enigma2/python/mytest.py", line 297, in open
    dlg = self.current_dialog = self.instantiateDialog(screen, *arguments, **kwargs)
  File "/usr/lib/enigma2/python/mytest.py", line 240, in instantiateDialog
    return self.doInstantiateDialog(screen, arguments, kwargs, self.desktop)
  File "/usr/lib/enigma2/python/mytest.py", line 264, in doInstantiateDialog
    dlg.applySkin()
  File "/usr/lib/enigma2/python/Components/GUISkin.py", line 154, in applySkin
  File "/usr/lib/enigma2/python/Components/GUISkin.py", line 57, in createGUIScreen
  File "/usr/lib/enigma2/python/Screens/VirtualKeyBoard.py", line 682, in buildVirtualKeyBoard
    self.markSelectedKey()
  File "/usr/lib/enigma2/python/Screens/VirtualKeyBoard.py", line 713, in markSelectedKey
    self.list[self.selectedKey / self.keyboardWidth].append(MultiContentEntryPixmapAlphaBlend(pos=(x, 0), size=(self.key_sel.size().width(), self.height), png=self.key_sel))
AttributeError: 'NoneType' object has no attribute 'size'

Attached Files


DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: Language assistance requested... #132 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 10 August 2018 - 05:46

I think in my case that part is missing:

 

5) The contents of the file skin-extract.xml should be added to a skin on
   your receiver.
   a) Add the font line to the <fonts> section of the skin.
   b ) Add the parameter lines to the <parameters> section of the file.
--

How do I do that?


Edited by zeros, 10 August 2018 - 05:47.

DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: Language assistance requested... #133 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 10 August 2018 - 05:55

I use PLi-HD Skin

I add the original file, how should I modify that in regarding the latest teaching?

(The file is located on the folder /usr/share/enigma2/PLi-HD )

Attached Files

  • Attached File  skin.xml   138.68KB   3 downloads

DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: Language assistance requested... #134 IanSav

  • PLi® Contributor
  • 1,491 posts

+51
Good

Posted 10 August 2018 - 07:30

Hi Zeros,

 

The GSOD is unexpected.  I will investigate.

 

Can I please have the copy of the keymap.xml file you edited (and an original copy, just in case) so I can see what happened.

 

I will use the skin.xml you provided above and the keymap.xml you will give me to make the changes for you.  I will also post the details here to help others make the changes using the files you provide as an example.

 

I will also try to improve my instructions.

 

Thank you for your feedback and sorry this was not an easy process.

 

Regards,

Ian.


Edited by IanSav, 10 August 2018 - 07:31.


Re: Language assistance requested... #135 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 10 August 2018 - 07:41

keymap.xml I wiil add on Sunday, because in the meantime I am in the countryside.
Before making changes, there were several languages available. Including Russian and, in my opinion, Iran/Persian and several others more. So I assume that something was already there before.

DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: Language assistance requested... #136 IanSav

  • PLi® Contributor
  • 1,491 posts

+51
Good

Posted 10 August 2018 - 08:20

Hi Zeros,

 

I have not removed any of the languages that were there at the start.  In fact, I added a few more.  ;)

 

I will get the skin.xml ready soon and I will help with the keymap.xml as soon as it is available.

 

I should also mention that when the code is submitted to the repository the installation will be automatic.  Users won't have to do a thing.  Skin authors, on the other hand, will need to update their skins as normal for any code improvement changes.

 

Regards,

Ian.



Re: Language assistance requested... #137 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 10 August 2018 - 09:13

I also add that GSOD comes only in at this point when I click on ' Keyboard '. Lest everything OK. It's not as sometimes that the box not comes up. This information for those who are still trying.

DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: Language assistance requested... #138 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 12 August 2018 - 08:24

I have not backuped the keymap.xml, if you need it, I can get it from my previous fullbackup of my box.
But here is the file keymap.xml you asked after editing and rebooting my dm920.
I just added with copy/paste the content from keymap-extract.xml to the end in the file keymap.xml in folder /usr/share/enigma2/

It seems to me, that Reboot changed a bit the file content!?

Attached Files


DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz


Re: Language assistance requested... #139 IanSav

  • PLi® Contributor
  • 1,491 posts

+51
Good

Posted 12 August 2018 - 09:52

Hi Zeros,

 

Attached are the patched files for your consideration.  I have not kept the original skin design for the VirtualKeyBoard as this is not easy to do on my development system.  I have also updated the ZIP file with the latest corrections and features (You can now control the VirtualKeyBoard with a physically attached real keyboard.)

 

I have also updated the installation instructions to highlight that Enigma2 must NOT be running when these changes are being made.

 

Regards,

Ian.

Attached Files


Edited by IanSav, 12 August 2018 - 09:53.


Re: Language assistance requested... #140 zeros

  • PLi® Contributor
  • 1,635 posts

+61
Good

Posted 12 August 2018 - 10:12

OK, thanks!
I'm doing a new experiment on next week and I'm doing it on a clean slate. This means first I put my last fullbackup, where changes have not yet been made. Then I will add the changes according to your latest tips.
I'm going to do a backup just in case of all the files before, so if you need them, then I have them.
It looks like a good idea:
Stop the Enigma2 process from running by issuing the command:
init 4
I let you know about the results on the new week!

DM920UHD DVB-S2X TRIPLE tuner + Triple M.S tuner DVB-S2X, DVB-T2/T, QboxHD, QboxHD Mini, Icecrypt T2300HD,
Qviart Lunix3 4K, Raspberry Pi 4 Model B 4GB & 8GB

Vertex 4K60 4:4:4 600MHz



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users