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

Regenerate language pack when file references have changes #186

Open ocean90 opened 3 years ago

ocean90 commented 3 years ago

Issue Overview For JSON files it's important that the file name matches the current reference of the string otherwise the JSON files cannot be found by WordPress. Because a reference change isn't detected as a change to the translation itself no new language pack is build thus shipping the JSON files with the previous reference.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Versions

Additional context