This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WPML to WP API

Description

Plugin will allow you to fetch the WP-API (WP-JSON-API) call with a “lang” variable. It will retrieve the right content from WPML/WP.

This only works with WPML and WP-API installed. I tested only with the latest version as of now:
* WPML 3.1.9.6
* WP REST API 1.2.1

Installation

Install the plugin as you would with any WordPress plugin in your wp-content/plugins/ directory or equivalent.
Then:
1. Activate the plugin through the ‘Plugins’ menu in WordPress
1. Make a call to “http://yoursite/wp-json/posts/?lang=ja” (in my case, its ja for Japanese, but it could be fr if you’re French!)

FAQ

Is this guaranteed to work

No. I threw it together in 5 minutes

What about foo bar?

If you want foo bar fixed, email me at info@y-designs.com
You bet your butt you can pay me for it 😉

Contributors & Developers

“WPML to WP API” is open source software. The following people have contributed to this plugin.

Contributors

Translate “WPML to WP API” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

0.1

  • Initial release no guarantees