Skip to content Skip to sidebar

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 0 voices.

Last updated by Laura 1 year ago.

Author Posts
December 5, 2024 at 10:33 am #16480917

Edith

Background of the issue:
I'm a developer working on a site under development and need guidance on the process for plugin translations using WPML. I experienced an issue where translations were lost during a plugin update. I want to ensure a reliable method for handling updates with WPML.

Symptoms:
Translations were lost during a plugin update.

Questions:
Is exporting the string translations as a PO file, updating the plugin, and re-importing the PO file the correct process?
Is there a quicker or more reliable method to handle plugin translations during updates?
Why is there a button to create a POT file when the plugin already has one?

December 6, 2024 at 9:45 am #16485274

Laura
WPML Supporter since 05/2018

Languages: English (English ) Italian (Italiano )

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

Hi,

thanks for contacting us.

WPML saves .mo files in the /wp-content/languages/wpml/ folder, while posts' translations are saved directly in the database. Since updates only replace files in the plugin folder, it's very unlikely that an update will lead to the loss of translations.

For the reasons above, we don't have a "correct process" for managing translation files during updates. We suggest backing up before updating, but that's the best practice for all updates.

I'm unsure what you mean by "Why is there a button to create a POT file when the plugin already has one?" WPML has its own .mo files, yes, but the button in String Translation is for exporting the translations you created.

The topic ‘[Closed] Translate plugin’ is closed to new replies.