Hi,
You don't know what I am talking about. For example: In en.po find "ext3" word. You find 3 items. And after it... check hu.po, find for "ext3" you don't find anything. And not this the only.
If a language file is not updated a long time ago, and a translator get the hu.po and do not find pot files just start the translation of the hu.po and upload here to the site, maybe there will be missing sections. Am I right? Maybe this happened with hungarian translation. Is there a method to check this? And what about what I wrote last time? "If I open en.po file, it writes there are 3375 section. If I click on make a translation from this, and select hungarian language, 3375 increases to 3457. How can it happen?"
Thanks in advance. Waiting for a solution.
Hi,
As already explained to you, the strings are evolving with image version and changes in source code. So some string that are used in former images no longer exist in the very latest version.
Typically this is the case for the "ext3" strings, in the previous image there was an option to convert the ext3 partition table into ext4, this option is no longer available.
But in the en.po file those obsolete string remains in it, if you open up the en.po in PoEdit and go into Catalogue then delete the obsolete string they will be discarded from the en.po file.
en.po:#~ msgid "Convert ext3 filesystem to ext4"
en.po:#~ msgstr "Convert ext3 filesystem to ext4"
en.po:#~ msgid "Convert ext3 to ext4"
en.po:#~ msgstr "Convert ext3 to ext4"
en.po:#~ msgid "Converting ext3 to ext4..."
en.po:#~ msgstr "Converting ext3 to ext4..."
As you can see those strings start with a #~ this means no longer used strings and can be delete without any problem.
So here is a cleaned en.po and the latest enigma2.pot file.
So the real reference is the enigma2.pot file and not any other .po files even the en.po is not the reference file.
@developers,
Can you consider to change the Makefile to delete each time the obsolete translation strings to always keep the generate .po files clean by using the msgattrib --no-obsolete option?
I have create a Pull Request that clean up every po file in the develop branch to delete all the obsoletes strings.
https://github.com/O...igma2/pull/1444
Regards,
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