Resolved
Resolved in: WPML String Translation 2.5.4
Overview of the issue
When upgrading to WPML 3.7.0, translations of strings wrapped in the wpml-string shortcodes are lost.
Workaround
Apply the following patch in the ../wpml-string-translation/inc/wpml-string-shortcode.php file, on line 8:
Replace:
$atts = shortcode_atts( array(), $atts );
With:
extract( shortcode_atts( array(), $atts ) );
Thank you for the fix.
I’ve also found a post in WPML forums with a much cleaner coding, according to WP standards:
https://wpml.org/forums/topic/some-translations-not-working-since-update/#post-1272028
Please include it in the next update.
Thank you
Best regards,
Jean
Hi Jean,
Thank you for your feedback!
The workaround in this errata was written as a quick fix.
The real fix (which will be released soon) is pretty much what has also been suggested in the forum.
Dear
For tax registration reasons please contact us urgently in which European status the Underlying Invoice was registered, as the VAT EU196000846 does not exist, usually the VAT number starts with the country code of the country of registration.
Best6 regards
Gentile Tin Hat Games,
Your order is complete. Your order’s details are below:
Numero fattura: 1233198
Data ordine: March 17, 2017
Payment method: PayPal
Transazione: wc_order_58cbeabae0f46
Articoli ordinati Quantity Prezzo articolo Totale articoli
Subtotal: $29.00 USD
Payment Method: PayPal
Total: $29.00 USD
VAT: reverse charged USD
Multilingual Blog 1 $29.00 USD $29.00 USD
Pagato a
OnTheGoSystems Limited
Unit 2209 22/F Wu Chung HSE
213 Queen’s Road East Wanchai
Hong Kong
Numero di registrazione: 1683657 VAT number: EU196000846
Nota: tutto il nostro lavoro è stato consegnato in forma elettronica.
Fatturato a
Tin Hat Games
Numero P.IVA: IT02737670345
Email info@tinhatgames.it
Hello,
I have replied to Maura about this via e-mail. Feel free to reply there if you need more info.
Kind regards,