|
I faced this earlier today, I think there is a reasonable process for handling this that doesn't involve creating a script that calls the APIs. If this happens, follow these steps:
- make a copy of the translations from the old location
- rename the enclosing directory to be the name of the new module
- in Lokalise, use the "Filter" by filename function to select and delete the keys from the old location
- in Lokalise, remove the old location GitHub integration and add the new (with just the en.json file defined, as normal)
- in Lokalise, make a pull request to copy in the `en` labels and values
- in Lokalise, upload the directory of other translations (ensuring the enclosing directory has the new name)
With this method in place, I'm closing this issue until this happens so often that a script is more advisable than this manual process.
|