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?
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.