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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Kyiv (GMT+02:00)

This topic contains 3 replies, has 0 voices.

Last updated by Andrey 4 hours, 19 minutes ago.

Assisted by: Andrey.

Author Posts
February 23, 2025 at 4:44 pm #16738323

romansS

Background of the issue:
I'm trying to find a way to be notified via WordPress action whenever translation content is being changed in some way. Specifically, I would want to be notified about translation changes in a strings package, but notification actions for other types of changes would also be useful.

Symptoms:
There doesn't seem to be anything like this in WPML documentation.

Questions:
Could you please point me to the action name for my case if there is any?
If there are not, is it possible for you to consider adding such functionality in future versions?

February 23, 2025 at 9:50 pm #16738687

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for contacting WPML support.

There is no such action that will indicate this.

However, all available hooks in WPML can be found here:
https://wpml.org/documentation/support/wpml-coding-api/wpml-hooks-reference/

February 24, 2025 at 1:05 pm #16741124

romansS

You're wrong. For example, here is "wpml_st_add_string_translation" defined in \WPML_ST_String::set_translation

February 24, 2025 at 3:24 pm #16741942

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for your feedback.

Meaning that no action is documented in the WPML API for what you described. The action you mentioned is internal, so you can try using it, but I cannot guarantee that it will meet your needs or if it works at all.

The other developer information can be found here:
https://wpml.org/documentation/support/