TYPO3-Initiatives / crowdin

TYPO3 crowdin translation initiative
0 stars 0 forks source link

Remove empty files from export #33

Open georgringer opened 4 years ago

georgringer commented 4 years ago

If no string of a file is translated, the file is currently still exported. It looks then like this

<?xml version="1.0" encoding="UTF-8"?>
<xliff xmlns:t3="http://typo3.org/schemas/xliff" version="1.0">
  <file t3:id="1520838123" source-language="en" datatype="plaintext" original="EXT:adminpanel/Resources/Private/Language/locallang.xlf" date="2018-03-31T08:08:00Z" product-name="adminpanel" target-language="sv-SE">
    <header/>
    <body>

        </body>
  </file>
</xliff>

It should be possible to skip those files completly.

discussion: https://typo3.slack.com/archives/CM9DSMMPC/p1574278265061700