Jump to content


Photo

Bulgarian language translation for OpenPli e2 images


  • Please log in to reply
33 replies to this topic

Re: Bulgarian language translation for OpenPli e2 images #21 marto

  • Senior Member
  • 120 posts

+7
Neutral

Posted 1 November 2011 - 13:19

Many thanks! Now everything is as you said. Please find as attached both .py files with Bulgarian language in. As I can't convert them back to .pyo in order to comply with OpenPli, please check them all or post them back here for my private test before uploading them on the feed.

Attached Files


VU+ Ultimo 4K; Clarke-Tech et9000


Re: Bulgarian language translation for OpenPli e2 images #22 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 1 November 2011 - 14:13

You don't have to "convert" py to pyo. If you edit the .py file, it will be re-compiled and loaded by enigma2 the next restart. Just restart enigma2 from within the GUI and it will work. You can delete the corresponding .pyo file if you want to see it magically be re-created when enigma starts up.

No need to wait for us...
Real musicians never die - they just decompose

Re: Bulgarian language translation for OpenPli e2 images #23 marto

  • Senior Member
  • 120 posts

+7
Neutral

Posted 1 November 2011 - 14:50

Thanks for the tip MiLo! I did as you said and everything is working fine here! Files from my previous post were automatically recreated to .pyo and BG language is there together with all other languages. I think now you have all the files needed for adding BG to the feed via next online update.
Once again many thanks for your support!

VU+ Ultimo 4K; Clarke-Tech et9000


Re: Bulgarian language translation for OpenPli e2 images #24 marto

  • Senior Member
  • 120 posts

+7
Neutral

Posted 3 November 2011 - 07:57

Hello Littlesat and MiLo,
I bump this again as there is still no BG language in OpenPli e2. Is there are problem to commit this? I think all files needed are in this topic already but if you still need something from my side please let me know.

VU+ Ultimo 4K; Clarke-Tech et9000


Re: Bulgarian language translation for OpenPli e2 images #25 littlesat

  • PLi® Core member
  • 56,318 posts

+691
Excellent

Posted 3 November 2011 - 08:00

To add the flag and the language itself a diff against our latest opensources may be welcome instead of a complete file that may come from another image.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Bulgarian language translation for OpenPli e2 images #26 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 3 November 2011 - 08:21

..Is there are problem to commit this?


Yeah, I haven't had time to look into this, but it's on the todo pile.
Real musicians never die - they just decompose

Re: Bulgarian language translation for OpenPli e2 images #27 marto

  • Senior Member
  • 120 posts

+7
Neutral

Posted 3 November 2011 - 08:50

..Is there are problem to commit this?


Yeah, I haven't had time to look into this, but it's on the todo pile.

OK! Thanks alot!

VU+ Ultimo 4K; Clarke-Tech et9000


Re: Bulgarian language translation for OpenPli e2 images #28 marto

  • Senior Member
  • 120 posts

+7
Neutral

Posted 5 November 2011 - 06:26

Hello MiLo,
Thank you for committing the BG language! There is one little problem however. The BG flag is not showing correct in Language tree of e2 menu. Please rename bg.png to bu.png in /usr/share/enigma2/countries. That will solve the problem. I did this already in post #11, but looks like that you took the old one :) Thanks in advance!

VU+ Ultimo 4K; Clarke-Tech et9000


Re: Bulgarian language translation for OpenPli e2 images #29 littlesat

  • PLi® Core member
  • 56,318 posts

+691
Excellent

Posted 5 November 2011 - 09:05

In the iso-639-2 standard bulgarian should be bg... so I would recommend to change this in the code and not rename the flag.

Probably we better may change this a bit
-self.addLanguage("Български", "bg", "BU")
+self.addLanguage("Български", "bg", "BG")

Edited by littlesat, 5 November 2011 - 09:10.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Bulgarian language translation for OpenPli e2 images #30 marto

  • Senior Member
  • 120 posts

+7
Neutral

Posted 5 November 2011 - 10:22

In the iso-639-2 standard bulgarian should be bg... so I would recommend to change this in the code and not rename the flag.

Probably we better may change this a bit

-self.addLanguage("Български", "bg", "BU")
+self.addLanguage("Български", "bg", "BG")

Yes. That will solve the problem too. Here are the corresponding language.py files.

Attached Files


VU+ Ultimo 4K; Clarke-Tech et9000


Re: Bulgarian language translation for OpenPli e2 images #31 littlesat

  • PLi® Core member
  • 56,318 posts

+691
Excellent

Posted 5 November 2011 - 10:54

I'll commit it soon....

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Bulgarian language translation for OpenPli e2 images #32 littlesat

  • PLi® Core member
  • 56,318 posts

+691
Excellent

Posted 5 November 2011 - 11:04

Milo did just commit it...

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Bulgarian language translation for OpenPli e2 images #33 marto

  • Senior Member
  • 120 posts

+7
Neutral

Posted 5 November 2011 - 12:17

Many thanks to both of you! :)

VU+ Ultimo 4K; Clarke-Tech et9000


Re: Bulgarian language translation for OpenPli e2 images #34 littlesat

  • PLi® Core member
  • 56,318 posts

+691
Excellent

Posted 5 November 2011 - 12:50

You have to thank Milo... I didn't do anything then discussing here ;)

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users