WPML lets you easily translate your Widgets via the String Translation screen. This requires that the WPML String Translation module is installed. The module is available with the Multilingual CMS account type.
WordPress ships with a few default widgets. WPML will automatically register these for translation the moment you install WPML String Translation.
Visit WPML → String Translation and you will see all the default widgets registered under the Widgets domain for you to translate.
Themes and plugins often also provide custom widgets, or you may be coding your own widgets. If this is the case, you will notice that these widgets may not always show up automatically for translation on the String Translation page; or perhaps only the widget title registers but not other widget texts.
There are two ways to let WPML know that these exist and to register them for translation.
For this, please see our detailed documentation about registering widget fields using code.
One of the advanced features of String Translation is that it allows admins to select texts that are saved in the wp-options database table and register them for translation. Since WordPress widgets save their texts inside the wp-options table, this means that widgets also benefit from the feature.
Follow the steps outlined in our documentation to find and register the widget strings you would like to translate.
Once your widget strings have been added to the String Translation page, you can translate them as normal.
Besides translating widgets, WPML also allows you to display different widgets for different languages.