Pular para o conteúdo Pular para a barra lateral

Resolved

Topic Tags: Compatibility

Overview of the issue

You might notice that when translating a page containing the Pricing Table from Impreza theme, the layout appears disrupted, and a “+” icon unexpectedly appears between words in the translated module.

Workaround

Please, make sure of having a full backup of your site before proceeding.

  • Open Open the …/wp-content/plugins/us-core/plugins-support/wpml.php file.
  • Look for line 135.
  • Replace:
    return urlencode( json_encode( $output ) );
    
  • With:
    return rawurlencode( json_encode( $output ) );
    
  • Then in line 171, replace:
    $rows = json_decode( urldecode( $original_string ), TRUE );
    
  • With:
    $rows = json_decode( rawurldecode( $original_string ), TRUE );
    
  • Do a small modification on the original page, and then re-translate it.

Uma resposta para “Impreza Theme - Pricing table widget is not translated correctly”