Translations

Status
Not open for further replies.

niglou

BH Lover
As I already speak about here http://www.vuplus-community.net/board/threads/mx-hd.8145/page-4#post-65514 ; the Black Hole or Black Pole packages cannot be translated through the .po files.

The problem is because Black Hole / Pole coders did forget to add "_(" before name, text or title; and ")" after; in order to translate the item if present in the .po file.

Example in black pole BHGreen; addons section :
Green addons-origine.jpg

the command in BpGreen.py is :

name = 'Online Feeds all Packages'

and therefore cannot be translated in any language.

If I change this line with :
name=_('Online Feeds all Packages')

Then the translation is possible

Green addons-traduit.jpg

My question:

Can a Black Hole coder add that to the BhGreen.py, Blue, Red and so on . If this is done then we can translate into our own language the whole image.
I cannot do that because I have nothing to decompile python 2.6....

Thanks in advance for your interest ;)
 
My question:

Can a Black Hole coder add that to the BhGreen.py, Blue, Red and so on . If this is done then we can translate into our own language the whole image.
I cannot do that because I have nothing to decompile python 2.6....

Thanks in advance for your interest ;)

Well...
You have a point on that. It is a good time to start thinking about how we can translate BH panels in our language (greek to my case)...
But, first, BH team has to give us the right to do it. Probably, they made a decision to distribute the files as pyo and not as plain py and there must be a reason for this. We have to accept and respect that.
If BH team gives the authorization, then there are decompilers out there that can do the job. I wiil then post the link to one I know...
 
I have done it for Black Pole, but I will not post my files unless the Team Admin ask me to do.

I would prefer the team make the corrections on the original files.
 
Can a Black Hole coder add that to the BhGreen.py, Blue, Red and so on . If this is done then we can translate into our own language the whole image.
I cannot do that because I have nothing to decompile python 2.6....
Thanks in advance for your interest ;)

Warning, next time you'll talk about to decompile Bh you will be banned.
The tags for translations in BH are not missed.
It is a choice of BH team to not translate.
This for many reasons.
The main reason is that there are too many bad translators and translations that cause many problems to the skins (buttons and labels oversizing and so on) and we don't like this in Bh panels.

About Black Pole all the files are translatable as you can see in the latest commits in the Black Pole git:
https://github.com/BlackPole/bp-enigma2
https://github.com/BlackPole/bp-enigma2/commits/master


Thread closed.
 
Status
Not open for further replies.
Back
Top