WCPOS WPML Integration
WPML integration for WCPOS
★ 0stars
11release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/wcpos/wcpos-wpml/releases/download/v0.1.2/wcpos-wpml.zipDeclares an update source (https://github.com/wcpos/wcpos-wpml), so updates arrive through the plugin's own updater.
From the readme
WCPOS WPML Integration
Adds WPML-aware product filtering to WCPOS, including fast sync route coverage and a per-store language selector for WCPOS Pro stores.
What it does
- Filters WCPOS product + variation REST queries by language.
- Intercepts WCPOS fast-sync routes (postsperpage=-1 + fields) so duplicate translated products are not returned.
- Free WCPOS stores default to WPML default language.
- WCPOS Pro stores can save a store-specific language.
- WCPOS Pro store edit gets a Language section with explanatory help text.
- Store language selector UI only loads when WPML is active and languages are available.
- Plugin strings use the wcpos-wpml text domain.
- PHP integration now no-ops when WPML is unavailable.
- Optional version gates via:
- wcposwpmlminimumwpmlversion
- wcposwpmlminimumwcmlversion (defaults to 4.11.0 when WCML version is detectable)
- Tests are mocked compatibility tests (WPML itself is proprietary and not installed in CI).
Development
Read the full README on GitHub →