We have moved to a new Sailfish OS Forum. Please start new discussions there.
8

Pootle API support for Sailfish OS Localization

asked 2016-10-14 00:19:19 +0200

peremen gravatar image

I just found that current Sailfish OS Pootle did not enabled Pootle API. Given the relatively large amount of ts files I found Pootle API would be useful for management, although it seems disabled here. If it is not a huge task, would you mind enabling Pootle API?

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
3

answered 2016-10-14 10:17:13 +0200

updated 2016-10-14 10:31:17 +0200

Hello,

As I know from @sledges opening the API has legal side effects.

If you want to download the TS files in batch you can use this script: https://github.com/martonmiklos/unofficial-jolla-translation/blob/master/tools/fetchts.sh

It uses the HTTP interface of the pootle an a predefined package array from here: https://github.com/martonmiklos/unofficial-jolla-translation/blob/master/tools/packagelist.txt

I think if you want to upload TS files back to the Pootle that might be possible through the HTTP interface with some scripting.

Anyway, I agree with you that an open API access would be beneficial for the Pootle.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2016-10-14 00:19:19 +0200

Seen: 177 times

Last updated: Oct 14 '16