What are the benefits of writing documentation about your theme/plugin compatibility with WPML?
The documentation will explain how to build multilingual sites with your theme/plugin, which will help your clients use your theme/plugin on multilingual sites and reduce the load on your support forums. It might also help increase your sales, as customers are more likely to purchase your product for producing a multilingual website. A link to your documentation will be added to your theme/plugin page on wpml.org.
Theme/Plugin Documentation suggested points (structure)
- Introduction: A few words about the theme/plugin and its integration with WPML. You can also include a link to a WPML public test site for that theme (example: http://YOURTHEME.compatibility.wpml.org/) where clients can see the multilingual theme/plugin in action.
- What you will need: Theme/Plugin version and download link, any required plugins (if applicable), WPML plugin version and necessary WPML add-ons.
- Essential resources: Links to your documentation or any part of the WPML documentation that might be useful for the client.
- Content: A list of the points that the documentation will include.
- Getting started: Explain how to activate and set up the theme along with WPML and its add-ons. It might also be useful to include instructions for importing the demo content or sample data (if applicable).
- Translate: Detailed steps on how to translate the elements of your theme or your plugin output. For themes, you might want to include the following points:
- Translating the home page.
- Translating other pages, posts, custom post types, and custom taxonomies.
- Translating the theme options.
- Translating other theme text.
- Translating menus.
- Translating third-party required plugins (e.g., if you use the Revolution Slider in your theme, you might want to refer to its documentation here).
- Conclusion: the result that can be achieved from the integration of your theme/plugin and WPML.
You might want to refer to some points in WPML’s documentation:
- Getting Started Guide
- Language Setup
- Using WPML’s Translation Management
- Theme and Plugin Localization
- String Translation
- Translating Menus
- Translating Widgets
- Custom Language Switcher
- Translating URL Slugs
- Theme Documentation example (Using WPML with the AVADA theme)
- Plugin Documentation example (Creating multilingual sliders using the Revolution Slider and WPML)
Multilingual Tools Plugin
The Multilingual Tools plugin can help you test the multilingual capabilities of your theme/plugin. It will automatically add language code or custom notices to translated content, allowing you to review what is working correctly and what requires modification to be translated.
With this tool, you can:
- Automatically generate strings for translations.
- Add language information to duplicated posts.
- Generate a WPML configuration file (wpml-config.xml).
See our full documentation of the Multilingual Tools Plugin.