Jump to content


Photo

Translations for Enigma 2: Please post them here!


  • Please log in to reply
2135 replies to this topic

Re: Translations for Enigma 2: Please post them here! #601 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 9 October 2013 - 21:13

2) please try to avoid wrapping long lines in the output.
    We generate all .po files with "--no-wrap" options. I assume the tool you use to do the translations should have a similar setting...

Probably this is Poedit issue. Next time i will be more careful.
It seems under Windows it changes the lines from long lines to maximum 80 long lines ... This should be fixed properly (I'm using version 1.5.5) and there should be an option to set it to
- use long lines or
- use lines of defined length or
- keep as in source

http://www.poedit.net/trac/ticket/25
Regarding the Audio Sync screen can you point me to the .po files need translation?

screenshot6.jpg

Thanks
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Translations for Enigma 2: Please post them here! #602 mirakels

  • Forum Moderator
    PLi® Core member
  • 7,603 posts

+62
Good

Posted 9 October 2013 - 22:03

you screenshot does not seem to work...

 

but audiosync is a plugin in the plugins-engima2 repository http://sourceforge.n...tree/audiosync/


Geen wonder... Had slechts een dm7000, maar wel ook een rotor. eigenlijk al een tijdje ook een dm600 en dm7025. Maar nu kijkend met een et9000 en vuduo

Re: Translations for Enigma 2: Please post them here! #603 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 9 October 2013 - 22:47

Greek Translation for AudioSync Plugin

Attached File  0001-Add-Greek-Translation-in-AudioSync.patch.txt   6.35KB   10 downloads

Attached File  audiosync.jpg   29.14KB   35 downloads

PS. Why "Audio Sync" is not translated here? There is no "Audio Sync" in Enigma2 generated po, should i add this manualy?

Attached File  selectaudio.jpg   45.96KB   37 downloads

Edited by athoik, 9 October 2013 - 22:48.

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Translations for Enigma 2: Please post them here! #604 mirakels

  • Forum Moderator
    PLi® Core member
  • 7,603 posts

+62
Good

Posted 10 October 2013 - 09:08

Maybe because that text come from the audiosync plugin itself?


Geen wonder... Had slechts een dm7000, maar wel ook een rotor. eigenlijk al een tijdje ook een dm600 en dm7025. Maar nu kijkend met een et9000 en vuduo

Re: Translations for Enigma 2: Please post them here! #605 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 10 October 2013 - 19:39

Maybe because that text come from the audiosync plugin itself?

So we need to append those on Enigma2 po files (in German translation this already happened).

Attached File  0001-Add-extra-strings-for-Greek-language.patch.txt   1.26KB   8 downloads

The above patch adds the following strings.
msgid "dreambox advanced remote control (native)"
msgid "dreambox front panel"
msgid "dreambox ir keyboard"
msgid "dreambox ir mouse"
msgid "dreambox remote control (native)"
msgid "Audio Sync"
msgid "Choose your Skin"
msgid "Choose Tuner"
msgid "Network configuration..."
Later i will create patch for networkbrowser also (currently there is no string translated!).

Thanks
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Translations for Enigma 2: Please post them here! #606 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 10 October 2013 - 19:53

You shouldn't just add messages to pofiles.
Instead, the gettext parser (or the sourcecode) should be fixed.

Re: Translations for Enigma 2: Please post them here! #607 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 10 October 2013 - 20:06

You shouldn't just add messages to pofiles.
Instead, the gettext parser (or the sourcecode) should be fixed.

The problem is on the sourcecode (plugin.py), another member from satdreamgr team point me to the following:
import gettext
try:
    cat = gettext.translation("AudioSync", "/usr/lib/enigma2/python/Plugins/Extensions/AudioSync/locale", [config.osd.language.getText()])
    _ = cat.gettext
except IOError:
    pass
When you add this, the Audio Sync is translated!

Is this ok? Proceed with a patch?

Edited by athoik, 10 October 2013 - 20:06.

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Translations for Enigma 2: Please post them here! #608 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 10 October 2013 - 20:21

I think plugins in the e2 repository should use the e2 catalogs.
Only external plugins need their own.

Re: Translations for Enigma 2: Please post them here! #609 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 10 October 2013 - 20:26

I think plugins in the e2 repository should use the e2 catalogs.
Only external plugins need their own.

Them maybe we are missing this?
# for localized messages
from __init__ import _ 

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Translations for Enigma 2: Please post them here! #610 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 10 October 2013 - 20:28

that's the runtime part.
I thought the problem was the gettext string extraction? (messages not ending up in the po files)

Re: Translations for Enigma 2: Please post them here! #611 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 10 October 2013 - 20:34

that's the runtime part.
I thought the problem was the gettext string extraction? (messages not ending up in the po files)

 

No the problem was the missing _ from plugin.py after all.

Attached File  0001-Add-gettext-for-localized-messages.patch.txt   617bytes   5 downloads

Please also commit this 0001-Add-Greek-Translation-in-AudioSync.patch.txt

 

Or use this combined patch.

 

Attached File  0001-Add-Greek-Language-and-Missing-Gettext-for-localized.patch.txt   6.76KB   10 downloads


Edited by athoik, 10 October 2013 - 20:38.

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Translations for Enigma 2: Please post them here! #612 mirakels

  • Forum Moderator
    PLi® Core member
  • 7,603 posts

+62
Good

Posted 10 October 2013 - 22:55

Yes the "from __init__ import _ " is ok. But it may be 'missing' in other .py files to.

Applied your combined patch (after removing unneeded white space)


Geen wonder... Had slechts een dm7000, maar wel ook een rotor. eigenlijk al een tijdje ook een dm600 en dm7025. Maar nu kijkend met een et9000 en vuduo

Re: Translations for Enigma 2: Please post them here! #613 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 11 October 2013 - 18:40

Hello,

 

Here is the Greek translation for Network Browser.


Attached File  0001-networkbrowser-Add-Greek-Language.patch.txt   9.88KB   6 downloads

 

Thanks


Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Translations for Enigma 2: Please post them here! #614 Frogman

  • Senior Member
  • 389 posts

+68
Good

Posted 11 October 2013 - 21:38

Hi,

here the patch for new german de.po-file:

- reformatted without wrapping

- some minor corrections

- includes commit c74f170af5263d5d9ef21315d88c944f8be81f75

 

Info:

Using latest Windows version of POEdit (1.5.7) you get wrapped lines (max length 80 characters). To get a po-file without wrapped lines you can create a new po-file with the 'msgcat.exe' which you can find in the program folder of POEdit.

Just open a DOS-window and type

msgcat --width=0 -o new_po_file.po old_po_file.po

wherein 'old_po_file.po' should be the name of your original wrapped po-file and 'new_po_file.po' the name of the new po-file without wrapped lines.

 

Attached Files


Most problems can be solved simply by a closer look.

Re: Translations for Enigma 2: Please post them here! #615 mirakels

  • Forum Moderator
    PLi® Core member
  • 7,603 posts

+62
Good

Posted 11 October 2013 - 22:46

#613 and #614 applied

Thanks guys


Geen wonder... Had slechts een dm7000, maar wel ook een rotor. eigenlijk al een tijdje ook een dm600 en dm7025. Maar nu kijkend met een et9000 en vuduo

Re: Translations for Enigma 2: Please post them here! #616 nisse69

  • Senior Member
  • 147 posts

0
Neutral

Posted 12 October 2013 - 20:07

Hi !

 

Here is the updated swedish translation, put it in the repo please.

 

Rgds

 

Nisse69

Attached Files


Dm8000HD SSSS DVD 1.5TB HDD : Dm500HD x2 : 0.8w 4.8e 13e 19.2e

Re: Translations for Enigma 2: Please post them here! #617 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 12 October 2013 - 23:35

Updatet Latvian translation.

Many errors and stylistic corrections.

Attached Files



Re: Translations for Enigma 2: Please post them here! #618 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 13 October 2013 - 07:08

Hello,

Here Greek is translation for SoftcamSetup.


Attached File  0001-SoftcamSetup-Add-Greek-Language.patch.txt   2.16KB   6 downloads

 

Thanks


Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Translations for Enigma 2: Please post them here! #619 Frogman

  • Senior Member
  • 389 posts

+68
Good

Posted 13 October 2013 - 12:58

Again a small update patch for german de.po:

 

- includes the added string of commit dd94a649386ca00eeafd2787de01b40e58353a6f

(with small correction in commit 2e049fe15891b2066c632d12b7b2c4dd0bc2bdbb)

 

 

Attached Files


Most problems can be solved simply by a closer look.

Re: Translations for Enigma 2: Please post them here! #620 mirakels

  • Forum Moderator
    PLi® Core member
  • 7,603 posts

+62
Good

Posted 13 October 2013 - 14:02

#616, #617, #618, #619 done

 

@nisse96: please read  post #596 (bottom line) and post #600


Geen wonder... Had slechts een dm7000, maar wel ook een rotor. eigenlijk al een tijdje ook een dm600 en dm7025. Maar nu kijkend met een et9000 en vuduo


21 user(s) are reading this topic

0 members, 21 guests, 0 anonymous users