Skip Navigation

For translations to appear on the String Translations page, the following conditions have to be met:

  • The text must be wrapped in gettext calls
  • There must be a textdomain argument

For more information on each of these conditions, please see our article on enabling text translation for themes not compatible with WPML.

Synchronizing translation files for sites running on multiple servers

As a default, String Translation only stores MO files on one server. This means that if your site runs on multiple servers, all the requests handled by other servers do not translate the strings.

As of WPML 4.4.0, you can enable a custom mode to synchronize your MO files across your servers. To do so, add the following to your wp-config file:

define( 'WPML_ST_SYNC_TRANSLATION_FILES', true );

Please note: This synchronization mode will add another layer of logic that may affect your site’s performance. We recommend using it only if required.