Please make sure to update to WPML 4.3.6 and check our list of Known Issues before reporting

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.

This topic contains 1 reply, has 2 voices.

Last updated by Bobby 7 months, 2 weeks ago.

Assigned support staff: Bobby.

Author Posts
July 9, 2019 at 8:20 pm #4174225


How translate in plugin JScript ( tCounter:"%curr% THIS %total%") ?

July 9, 2019 at 11:05 pm #4174735


Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)


in order to translate a hardcoded string the WPML String Translation plugin needs to be able to pick it up. String Translation looks for strings wrapped in a gettext call , for more information please review the following


if the JScript is in a JScript file you wont be able to wrap it in a gettext call ss wordpress gettext call can work only if you have .php file extension.

for example with Javascript you would need to put the Javascript on page and wrap it then

The topic ‘[Closed] How translate in plugin JScript ( tCounter:"%curr% THIS %total%") ?’ is closed to new replies.