D17739: Add a po file for the list of words in GCompris

Karl Ove Hufthammer noreply at phabricator.kde.org
Sun Jan 20 15:12:47 GMT 2019


huftis added a comment.


  I have tested the scripts and found one bug in `poToDataset.py`. It also converts **obsolete** entries in the PO file into JSON entries.
  
  But I have a question. Is it //necessary// to also output the empty (untranslated/fuzzy) entries? If not, you can fix the bug and simplify the JSON file at the same time by just using:
  
    for entry in poFile.translated_entries():
        word = entry.msgctxt
        data[word] = entry.msgstr

REVISION DETAIL
  https://phabricator.kde.org/D17739

To: jjazeix, #gcompris, #localization, huftis
Cc: pino, huftis, aacid, kde-edu, harrymecwan, ganeshredcobra, nityanandkumar, echarruau, rahulyadav, narvaez, scagarwal, apol, timotheegiet, hkaelberer, jjazeix, bcoudoin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20190120/78520e96/attachment.html>


More information about the kde-edu mailing list