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

Generate the translation endpoint #19

merged 5 commits into from Nov 21, 2018


None yet
2 participants

Mte90 commented Nov 20, 2018

The content is like
{"translations":[{"language":"it_IT","version":"1.0.0","package":"%%path%%\/","english_name":"Italian","native_name":"Italiano","iso":["it","ita",null],"updated":"2018-11-20 09:50:33","strings":{"continue":"Continue"}}]}

Anyway is not ready yet because:

  • we need to define the real URL
  • we need to define how to check if the language pack is updated
  • get the localized string for Continue

Mte90 added some commits Nov 14, 2018


This comment has been minimized.


Mte90 commented Nov 20, 2018

Also the original version was using a db table to save the version to the locale.

@Mte90 Mte90 referenced this pull request Nov 20, 2018


Endpoints for translation #8

@Mte90 Mte90 force-pushed the Mte90:gp-cli branch from 5fef955 to 0e1f6fb Nov 20, 2018

Mte90 added some commits Nov 20, 2018

@nylen nylen merged commit ec00563 into ClassicPress:master Nov 21, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment