Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

No supporters are available to work today on this forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

This topic contains 2 replies, has 2 voices.

Last updated by teameK 2 years, 6 months ago.

Assigned support staff: Vincenzo.

Author Posts
April 6, 2018 at 1:03 am #1566655

teameK

Problems with translation of strings represented by variables....

April 7, 2018 at 9:23 am #1568341

Vincenzo
Supporter

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Hello, thank you for contacting WPML Support!

As a general rule, inside all translation functions, no variables are allowed in the strings.

You can read more about this here:
hidden link

Thank you

Related documentation:
https://wpml.org/documentation/support/translation-for-texts-by-other-plugins-and-themes/#1-register-the-strings-that-need-translation
https://wpml.org/2009/05/wordpress-theme-localization/

April 9, 2018 at 7:35 am #1569645

teameK

Thank you.