I am using XLIFF files to handle Symfony 5.4 translations but my client would like to convert them to CSV or JSON.
Is it possible to convert my existing files to another format? I don't want to use the extract or update command because this would re-generate the translations. I would prefer to convert my existing ones in another format.
I also tried external tools such as xliff-to-json but they didn't work.
Since I couldn't find a suitable tool I created a console command which converts from XLIFF to CSV:
This is the link to the Gist, please feel free to suggest edits: https://gist.github.com/lukepass/6955d0cf25c44138df24f605e53a96cb