Opened 6 years ago

Closed 6 years ago

#3679 closed enhancement (fixed)

Allow REST-API for post-type `handbook` to export contents for translation

Reported by: miyauchi's profile miyauchi Owned by: obenland's profile obenland
Milestone: Priority: normal
Component: Handbooks Keywords:


We are planning to translate contents for the handbook.
Can you activate REST-API for post-type handbook?

My plan of workflow to translate is like following.

  1. Export handbook contents via REST-API.
  2. Convert contents to markdown format.
  3. Translate markdown files on GitHub
  4. Publish as gh-pages or import them into WordPress.
  5. If original handbook contents will be changed, get the information via REST-API.

Tracking changes for original pages is big problem when we try to translate it, but I guess we can solve this problem by REST-API.

Attachments (1)

3679.patch (725 bytes) - added by miyauchi 6 years ago.
Add line 'show_in_rest' => true, .

Download all attachments as: .zip

Change History (3)

6 years ago

Add line 'show_in_rest' => true, .

This ticket was mentioned in Slack in #meta by miyauchi. View the logs.

6 years ago

#2 @obenland
6 years ago

  • Owner set to obenland
  • Resolution set to fixed
  • Status changed from new to closed

In 7345:

Handbook: Show handbook posts in REST API.

Props miyauchi.
Fixes #3679.

Note: See TracTickets for help on using tickets.