wearerequired / traduttore

🗼 A WordPress plugin to improve the I18N workflow for your own projects based on @GlotPress.
https://wearerequired.github.io/traduttore/
72 stars 15 forks source link

Genereate a new ZIP file instead of reading and updating existing ZIP files #131

Closed ocean90 closed 5 years ago

ocean90 commented 5 years ago

Issue Overview Currently existing ZIP files are updated which means due to the bug in #130 we know have 4 files in the ZIP:

<textdomain>-<locale>.mo
<textdomain>-<locale>.po
<textdomain>.mo
<textdomain>.po

Expected behavior A new ZIP is built in a temporary directory which then is moved to the public directory to replace the existing ZIP file.