What problem does it solve?
This Skill ensures that WordPress plugins are compatible with WPML, a popular multilingual plugin, by checking for essential configurations and hooks necessary for proper translation and language switching.
Core Features & Use Cases
- WPML Compatibility Check: Verifies that plugins are using the correct hooks and configurations for WPML compatibility.
- Custom Fields and CPT Translation: Ensures custom fields and custom post types are set up for translation.
- Language Switcher and Detection: Checks the implementation of language switcher hooks and current language detection.
- URL Handling: Validates URL handling for multilingual sites.
- REST API and AJAX: Assesses the compatibility of custom REST routes, rewrite rules, and AJAX handlers with WPML.
- wpml-config.xml: Inspects the presence and correctness of the
wpml-config.xml file.
Quick Start
Run the orbit-compat-wpml skill on your plugin to ensure it is compatible with WPML.