This PR introduces the --clean flag for the ongr:translation:import command. Running the ongr:translation:import command with the --clean flag will cause the removal of all translation keys from ES that are not present in any translation file(s) configured in the ongr.translations config anymore.
This optional flag should be added to the command to be able to cleanup unneeded translations. Currently ongr:es:index:{drop,create} is part of our workflow, which is annoying and could be resolved by this change. Please review.
This PR introduces the
--clean
flag for theongr:translation:import
command. Running theongr:translation:import
command with the--clean
flag will cause the removal of all translation keys from ES that are not present in any translation file(s) configured in the ongr.translations config anymore.This optional flag should be added to the command to be able to cleanup unneeded translations. Currently
ongr:es:index:{drop,create}
is part of our workflow, which is annoying and could be resolved by this change. Please review.