I've a Magento2 application with A LOT of texts and sometimes I have to add new phrases that need to be translated as well.
To wrap text that needs to be translated I use:
<?php echo __("Lorem ipsum ..")?>
Then I edit the csv file in i18n theme's folder.
In order to add new string to the file, I run magento i18n:collect-phrases
, but it overrides the .csv output file in the theme directory, so I lose the old translations.
I think I'm not understanding how to correctly generate and use translation dictionaries, can you pls explain it here?