-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supporting all plugin translations? #4
Comments
Hey! There are couple of reasons.
Instead of telling that this voluntarily maintained repository is not useful until X happens you could ask the team behind wordpress.org api to release composer compatible data so this repository wouldn't be needed anymore. |
@onnimonni I'd be happy to take a stab at it. Currently trying to understand how the parts are fit together... Is this correct:
Correct so far? A question I had was where is the code for the script in 1. above? As for implementing this across all packages, I've checked out the WPackagist approach, which won't work for us - they have a custom PHP Silex app that checks out every single plugin and then parses the tags, etc. We don't need this because SVN doesn't contain our data and there is an API for us to use instead. In terms of API limits for We will probably need a VPS to to continuously run the update checking. I'd be happy to sponsor with this and also help out with necessary code changes. What are your thoughts @onnimonni ? |
Sorry for being rude about this earlier. These issues haven't lead to any significant progress and I'm tired of people who are just asking all sorts of things without contributing anything back. It would be really awesome to be able to load all plugin translations with composer. I'm using the Travis CI scheduled builds to build this repository daily. It used to run in my own VPS in Digitalocean every 15 minutes but the maximum of 24h delay in Travis CI isn't that bad. Now people can see the build errors in Travis too so all of the contents of this project can be public. So as you can see from # Install dependencies
$ composer install
# Crawl new language files from `api.wordpress.org`
$ php bin/wp-api-org
# Builds new site based on satis.json
$ php bin/satis build satis.json _site I'm not really proud of the |
As a new user, I find it confusing that this package appears to provide a Composer interface for translations via the WP translations API, yet it only includes a handful of translation packages - not very useful.
Adding custom zip sources for each plugin translation is not maintainable. What is the barrier towards allowing this repo to support all WordPress.org plugins?
The text was updated successfully, but these errors were encountered: