WPML Developer Documentation – Hooks, wpml-config.xml, API, and Compatibility Reference
This page collects the resources you need to build with WPML as a developer. Whether you’re making your theme or plugin multilingual, getting it WPML-certified, or building custom multilingual sites for clients, you’ll find the relevant guides and references below.
Make Your Theme or Plugin Multilingual
- Translating PO/POT Files for WordPress Themes and Plugins
- Translating JavaScript Strings in WordPress Themes and Plugins
- Achieving WPML Compatibility for Your Themes and Plugins
- Making WooCommerce Themes Multilingual and Multi-Currency Ready
Get Your Theme or Plugin WPML-Certified
WPML’s compatibility team tests thousands of themes and plugins. You can find what’s tested and works well with WPML in these lists.
Compatibility Program for Authors
If you’re the author of a theme or plugin, these pages explain how to request compatibility testing and how to keep your product’s WPML compatibility current:
- Author requests regarding compatibility with WPML
- Retest your plugin or theme with WPML using the compatibility dashboard
Build Multilingual Sites With Custom Post Types, Fields, and Taxonomies
Learn how custom post types, fields, and taxonomies make multilingual websites easy for your clients to translate and for you to maintain.
Develop Multilingual Sites With WPML and Page Builders
Learn how to develop websites with WPML and page builders that use shortcodes and how to register page builder widgets for translation.
- Registering Page Builder Widgets for Translation
- Maintaining WPBakery Page Builder Compatibility with WPML
- Maintaining CornerStone Compatibility with WPML
- Maintaining Enfold Compatibility with WPML
- Maintaining the Divi Builder Compatibility with WPML
- Maintaining the Avada Builder Compatibility with WPML
Other Programmer Resources
- Translating WordPress Themes with .mo Files
- Add WPML-installer to Your Theme or Plugin
- Add Custom Admin User Capabilities
- WPML’s Coding API
- WPML’s Database Tables
- Sending Emails with WPML
- Browser Cookies Stored by WPML
- Cron Jobs Run by WPML and WPML Multilingual & Multicurrency for WooCommerce
- WPML Troubleshooting Options
- Using WPML with Redis Caching
- How to Create String Packages
- ACFML hooks reference – the two ACFML filter hooks and four constants for
acf-multilingual. Moved here from/documentation/related-projects/translate-sites-built-with-acf/acf-multilingual-acfml-constants-and-hooks-reference/; the old URL 301s. - WCML hooks reference – WooCommerce Multilingual hooks. Moved here from
/documentation/related-projects/woocommerce-multilingual/wcml-hooks-reference/; the old URL 301s. - Querying multilingual content with WPGraphQL –
languageargument,translationsfield, per-language menus, ACF Options Pages, and other GraphQL queries for headless WordPress sites built with Next.js, Nuxt, Astro, or Gatsby. - WPML constants
- How to add hreflang in a WordPress website
- How to use gettext
- Multilingual support for WordPress multisites
- Features in WPML that depend on the WordPress REST API
- Using the WordPress REST API with WooCommerce Multilingual
- Translating slugs for custom post type archives
- Translating urlencoded shortcodes
- Designing custom currency switchers using template files
- WPML translation notifications
- Using WPML with Memcached caching