[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-i18n-doc
Subject: Re: Addition of a new po for GCompris [Solved]
From: Antoni Bella =?ISO-8859-1?Q?P=E9rez?= <antonibella5 () yahoo ! com>
Date: 2019-01-21 9:52:18
Message-ID: 4146418.6ccjetsZxq () alba
[Download RAW message or body]
El dilluns, 21 de gener de 2019, a les 10:39:15 CET, Johnny Jazeix va
escriure:
> I used python 3 (I think it's 3.7.2). For sure, it won't work with python2.
> I guess the package are named python3-parse, ...
Work fine!
I change:
#!/usr/bin/python
to
#!/usr/bin/python3
Install:
sudo apt install python3-parse python3-polib
Make a new gcompris_lang.po file:
./datasetToPo.py words.json gcompris_lang.po content-ca.json
Regards
Toni
> Le lun. 21 janv. 2019 à 10:34, Antoni Bella Pérez <antonibella5@yahoo.com>
>
> a écrit :
> > El dilluns, 21 de gener de 2019, a les 10:12:31 CET, Yuri Chornoivan va
> >
> > escriure:
> > > Thanks. That was my mistake.
> > >
> > > It should be run as
> > >
> > > ./datasetToPo.py words.json out.po content-uk.json
> > >
> > > and as
> > >
> > > from urllib.parse import quote
> > >
> > > does not work for me ("ImportError: No module named parse") I have
> >
> > commented
> >
> > > out the corresponding lines and it works somehow.
> > >
> > > Sorry for the noise.
> > >
> > > Best regards,
> > > Yuri
> > >
> > Hi,
> >
> > More information:
> > - Kubuntu 18.10
> > - python --version -> Python 2.7.15+
> > - sudo apt install python-parse python-uritools python-uritemplate
> >
> > Output:
> > ./datasetToPo.py words.json
> > ../../../../../../../trunk/l10n-kf5/ca/messages/
> > extragear-edu/gcompris_lang.po content-ca.json
> >
> > Traceback (most recent call last):
> > File "./datasetToPo.py", line 27, in <module>
> >
> > from urllib.parse import quote
> >
> > ImportError: No module named parse
> >
> > Thanks for your help.
> >
> > Toni
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic