Downloading translations from pootle

29 views
Skip to first unread message

Sergi Almacellas Abellana

unread,
Apr 15, 2016, 7:33:58 AM4/15/16
to try...@googlegroups.com
Hi,

I've all the Strings for catalan and Spanish in pootle translated
(Thanks Jordi and all how contributed), so I developed some script to
get all the translations on a local instance so I can test that all are
correct.

I attach this script so if somebody finds it usefull. The usage is quite
easy:

python pootle2tryton.py locale environment_directory

For example:

python pootle2tryton.py ca_ES . (from environemt root)
python pootle2tryton.py es_ES /home/sergi/trytond/

Hope it helps!
--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk
pootle2tryton.py

Raimon Esteve

unread,
Apr 15, 2016, 10:52:00 AM4/15/16
to try...@googlegroups.com
2016-04-15 13:33 GMT+02:00 Sergi Almacellas Abellana <se...@koolpi.com>:
> Hi,
>
> I've all the Strings for catalan and Spanish in pootle translated (Thanks
> Jordi and all how contributed), so I developed some script to get all the
> translations on a local instance so I can test that all are correct.
>
> I attach this script so if somebody finds it usefull. The usage is quite
> easy:
>
> python pootle2tryton.py locale environment_directory
>
> For example:
>
> python pootle2tryton.py ca_ES . (from environemt root)
> python pootle2tryton.py es_ES /home/sergi/trytond/
>
> Hope it helps!

I'm sure! Great job! thanks

Raimon

Cédric Krier

unread,
Apr 15, 2016, 11:20:32 AM4/15/16
to try...@googlegroups.com
On 2016-04-15 13:33, Sergi Almacellas Abellana wrote:
> Hi,
>
> I've all the Strings for catalan and Spanish in pootle translated (Thanks
> Jordi and all how contributed), so I developed some script to get all the
> translations on a local instance so I can test that all are correct.
>
> I attach this script so if somebody finds it usefull. The usage is quite
> easy:
>
> python pootle2tryton.py locale environment_directory
>
> For example:
>
> python pootle2tryton.py ca_ES . (from environemt root)
> python pootle2tryton.py es_ES /home/sergi/trytond/
>
> Hope it helps!

Maybe you could make a review for tryton-tools.

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Sergi Almacellas Abellana

unread,
Apr 20, 2016, 7:39:24 AM4/20/16
to try...@googlegroups.com
El 15/04/16 a les 17:17, Cédric Krier ha escrit:
> On 2016-04-15 13:33, Sergi Almacellas Abellana wrote:
>> >Hi,
>> >
>> >I've all the Strings for catalan and Spanish in pootle translated (Thanks
>> >Jordi and all how contributed), so I developed some script to get all the
>> >translations on a local instance so I can test that all are correct.
>> >
>> >I attach this script so if somebody finds it usefull. The usage is quite
>> >easy:
>> >
>> >python pootle2tryton.py locale environment_directory
>> >
>> >For example:
>> >
>> >python pootle2tryton.py ca_ES . (from environemt root)
>> >python pootle2tryton.py es_ES/home/sergi/trytond/
>> >
>> >Hope it helps!
> Maybe you could make a review for tryton-tools.
Done in https://tryton-rietveld.appspot.com/24171003
Reply all
Reply to author
Forward
0 new messages