Background of the issue:
I am working on a site under development and trying to update string translations for Gutenberg blocks that are in widgets. The translations are updated in the database and in .mo files on the server.
Symptoms:
When I do a new deployment, the .mo files are erased, and translations disappear from the frontend part of the site, although they are displayed in the WPML string translations.
Questions:
What priority does wpml use to decide where to take the translation from, from the database or from .mo files?
How can I ensure that translations remain on the frontend after deployment?
Could you please help me with one more question? We have 4 servers and balancing to optimize traffic. Our admin panel is on one server. And when we update string translations for widgets, .mo files are generated only for one server, where the admin panel is located. How can we make it so that .mo files are generated on all four servers when updating translations? Perhaps you already have a solution to this problem?
Every ticket is reserved for resolving one specific matter, ensuring focused support, streamlined communication, and high-quality service. Therefore, please open new tickets for your other concerns.