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! #1281 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 2 July 2017 - 08:11

@mirakels Please do this one more time : https://github.com/O...08ca287ff76fd0c :)

It's been 5 months, Push new strings ;)


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


Re: Translations for Enigma 2: Please post them here! #1282 WanWizard

  • PLi® Core member
  • 70,396 posts

+1,807
Excellent

Posted 2 July 2017 - 14:12

What exactly needs to happen here? Generate updated po's? Isn't this something we can automate (in develop)?


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: Translations for Enigma 2: Please post them here! #1283 ims

  • PLi® Core member
  • 13,781 posts

+214
Excellent

Posted 2 July 2017 - 16:58

but it cannot be generated only ... It must be generated and merged with existing .po files, because many tranlators added a lot of strings manually...


Kdo nic nedělá, nic nezkazí!

Re: Translations for Enigma 2: Please post them here! #1284 Pr2

  • PLi® Contributor
  • 6,179 posts

+261
Excellent

Posted 2 July 2017 - 20:54

Hi,

 

I am a translator and I never add manually strings, I always first generate .pot an .po file and then edit it.

And I even use the delete obsolete strings function in PoEdit to produce a clean-up translation without any useless strings.

 

Would be nice if .po files are generated at build time so this can ease translator job, we can just point them to the github to always get the latest .po version.

 

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: Translations for Enigma 2: Please post them here! #1285 WanWizard

  • PLi® Core member
  • 70,396 posts

+1,807
Excellent

Posted 2 July 2017 - 20:57

Ideally I would like to automate it, and perhaps even push them to an online translation service, so we can harnass the power of the community (beyond the people that know how poedit works ;)).


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: Translations for Enigma 2: Please post them here! #1286 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 2 July 2017 - 21:01

Ideally I would like to automate it, and perhaps even push them to an online translation service, so we can harnass the power of the community (beyond the people that know how poedit works ;)).


It's ready with POEditor: https://poeditor.com..._github_project

(and it's free for Open Source, as they are saying).
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! #1287 WanWizard

  • PLi® Core member
  • 70,396 posts

+1,807
Excellent

Posted 2 July 2017 - 21:34

Yeah, but that was not what I meant.

 

You need to generate up to date po files (and maybe po templates) from the source. I understood that PP was after that so people can fix missing translations, and if so, I don't want it to be a repeated manual operation, but automate it on the buildservers.


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: Translations for Enigma 2: Please post them here! #1288 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 2 July 2017 - 21:52

Can somebody write the steps to generate the po templates and po files?

It can be a job that will run every week on the server.
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! #1289 Pr2

  • PLi® Contributor
  • 6,179 posts

+261
Excellent

Posted 2 July 2017 - 21:59

Hi,

 

It is easy on your build server, instead of running ./configure  you need to run  ./configure --with-po (if you run it later on you need to run again ./autogen.sh but once it is done it is done forever).

 

Then each time you build an image the .po and .pot files will be created.

 

I think this was not done before because this will trigger everyday the whole .po files update during online update.

 

Pr2


Edited by Pr2, 2 July 2017 - 22:00.

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: Translations for Enigma 2: Please post them here! #1290 Pr2

  • PLi® Contributor
  • 6,179 posts

+261
Excellent

Posted 2 July 2017 - 22:05

Hi,

 

There is a tuto here to generate only the .po and .pot files:

 

https://forums.openp...-62#entry656373

 

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: Translations for Enigma 2: Please post them here! #1291 WanWizard

  • PLi® Core member
  • 70,396 posts

+1,807
Excellent

Posted 2 July 2017 - 22:08

Bookmarked it for the todo list.


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: Translations for Enigma 2: Please post them here! #1292 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 3 July 2017 - 04:42

Yeah, but that was not what I meant.
 
You need to generate up to date po files (and maybe po templates) from the source. I understood that PP was after that so people can fix missing translations, and if so, I don't want it to be a repeated manual operation, but automate it on the buildservers.


Exactly, A server should do the updates and a translator should only translate :)

I'm really happy that PLi's enigma2 improves every day and we can be part of it even a bit :)

Bookmarked it for the todo list.


If you want the online ability maybe you can use http://pootle.translatehouse.org, For example fetch latest po files from translate.openpli.org then update the po files and merge them once per week ;)

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


Re: Translations for Enigma 2: Please post them here! #1293 Vytenis P.

  • Senior Member
  • 28 posts

0
Neutral

Posted 3 July 2017 - 06:22

But if not yet automated, 12 Pull requests for updating plugins translations in Lithuanian are still hanging the 3-rd day ;)


Vu+ Duo2 & Vu+ Ultimo 4K


Re: Translations for Enigma 2: Please post them here! #1294 WanWizard

  • PLi® Core member
  • 70,396 posts

+1,807
Excellent

Posted 3 July 2017 - 11:43

We're very busy with the release, and I have only two hands, sorry.


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: Translations for Enigma 2: Please post them here! #1295 andy1

  • Senior Member
  • 123 posts

+4
Neutral

Posted 9 July 2017 - 19:20

Hi.

 

Attached File  Norwegian bokmål enigma2.zip   146.71KB   3 downloadsUpdated norwegian bokmal enigma2 translation.



Re: Translations for Enigma 2: Please post them here! #1296 hawkeye116477

  • Senior Member
  • 34 posts

0
Neutral

Posted 13 July 2017 - 12:56

Welcome!

Here is Polish translation update patch.

Attached Files


Miraclebox Premium Micro (v1)


Re: Translations for Enigma 2: Please post them here! #1297 Vytenis P.

  • Senior Member
  • 28 posts

0
Neutral

Posted 15 July 2017 - 18:02

Because all of *.po are different (de - 2860, fr - 2964, nb - 2962, ru - 2934 strings), tried to make *.pot following @blzr recomendations, but unsuccessfully - after ./autogen.sh command I got:

 

configure.ac:14: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
 

all PKG_CHECK and AC_CHECK lines are #commented


Vu+ Duo2 & Vu+ Ultimo 4K


Re: Translations for Enigma 2: Please post them here! #1298 Vytenis P.

  • Senior Member
  • 28 posts

0
Neutral

Posted 16 July 2017 - 07:17

"configure.ac:14: error:" resolved by installing autoconf, autogen and libtool. But now after ./configure --with-po in the end I get:

configure: error: 
  Could not link test program to Python. Maybe the main Python library has been
  installed in some non-standard library path. If so, pass it to configure,
  via the LDFLAGS environment variable.
  Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
  ============================================================================
   ERROR!
   You probably have to install the development version of the Python package
   for your distribution.  The exact name of this package varies among them.
  ============================================================================

See `config.log' for more details

In config.log I didn't understood nothing about error, so attaching




 


Edited by Vytenis P., 16 July 2017 - 07:21.

Vu+ Duo2 & Vu+ Ultimo 4K


Re: Translations for Enigma 2: Please post them here! #1299 Vytenis P.

  • Senior Member
  • 28 posts

0
Neutral

Posted 16 July 2017 - 07:18

"configure.ac:14: error:" resolved by installing autoconf, autogen and libtool. But now after ./configure --with-po in the end I get:

configure: error: 
  Could not link test program to Python. Maybe the main Python library has been
  installed in some non-standard library path. If so, pass it to configure,
  via the LDFLAGS environment variable.
  Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
  ============================================================================
   ERROR!
   You probably have to install the development version of the Python package
   for your distribution.  The exact name of this package varies among them.
  ============================================================================

See `config.log' for more details

In config.log I didn't understood nothing about error, so attaching




 

Attached Files


Edited by Vytenis P., 16 July 2017 - 07:23.

Vu+ Duo2 & Vu+ Ultimo 4K


Re: Translations for Enigma 2: Please post them here! #1300 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 16 July 2017 - 07:33

install python-dev


True sarcasm doesn't need green font...


7 user(s) are reading this topic

0 members, 7 guests, 0 anonymous users