Skip Navigation

Resolved

Reported for: WPML Multilingual CMS 4.5.2

Resolved in: 4.5.9

Overview of the issue

If you try to set a language mapping at WPMLLanguagesSite Languages for Chinese or Portuguese, you will see that when you click on the Save button, nothing happens. Furthermore, there is a JavaScript error in the browser console.

TypeError: Cannot read properties of undefined (reading ‘nonce’)

This issue happens only when you have enabled the Translate Everything mode.

Workaround

  1. Go to WPMLSettings.
  2. Look for the Translation Mode section and temporarily switch to Translate Some.
  3. Then go to WPMLLanguages page, click on the Edit Languages link and set the mapping.
  4. Go back to WPMLSettings page and witch to Translate Everything again.