Onzi Connector

설명

Onzi writes and publishes articles to your WordPress site. With this plugin installed, an article that exists in several languages arrives as one post per language, each filed under the right language and linked to its original, exactly as if you had created the translations by hand in Polylang or WPML. Your language switcher, hreflang tags and per-language categories all work as usual.

You only need it when your site uses the free version of Polylang or WPML. Polylang Pro works with Onzi out of the box, and a single-language site needs nothing at all.

The plugin has no settings and no screens of its own. It does not send anything to Onzi; Onzi talks to your site the same way the WordPress app does, using the application password you created when connecting.

For developers

WordPress core has no notion of a translation. Polylang Pro exposes two REST API fields on posts and categories, lang and translations, that say which language a post is in and which posts are its translations. Free Polylang and WPML keep the same information but do not expose it over the REST API. This plugin registers those two fields, with the same semantics as Polylang Pro, on top of whichever plugin you run, and answers one read-only route (GET /wp-json/onzi/v1/site) that lists the configured languages. Any client that speaks Polylang Pro’s REST contract works against it.

설치

  1. In WordPress go to Plugins > Add New, search for “Onzi Connector” and install it. Or upload the zip from Plugins > Add New > Upload Plugin, or copy the onzi-connector folder to /wp-content/plugins/.
  2. Activate it.
  3. In Onzi, open the WordPress channel’s actions menu and choose Verify (or reconnect). The channel now lists every language the site can receive.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Onzi Connector”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Onzi Connector”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록을 RSS로 구독하세요.

변경이력

1.0.0

  • First release: discovery route, lang + translations REST fields for free Polylang and WPML, ?lang= filtering for posts and categories.
  • Posts in different languages can share a URL slug on free Polylang, instead of the second one being given a -2 suffix.