Glossary CSV import does not accept CSV files exported from DeepL
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3594398. -->
Reported by: [beltofte](https://www.drupal.org/user/151799)
Related to !72
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>The new glossary CSV-import feature validates that the uploaded CSV-file have exactly 2 columns. This is a problem if you export glossary CSV files from DeepL UI or from DeepL's glossary generator. </p>
<p>The CSV-files exported from DeepL contains 4 or 5 columns:</p>
<ol>
<li>Source term</li>
<li>Target term</li>
<li>Source language</li>
<li>Target language</li>
<li>Relevance (only in the glossary generator export)</li>
</ol>
<p>Column 1 and 2 are the same as expected by the new CSV-import feature.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<ol>
<li>Create a glossary in DeepL UI and export it to CSV</li>
<li>Create a new glossary from a TMX-file in DeepL' glossary generator and export the generated glossary to CSV.</li>
</ol>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Change the CSV-file validation from exactly 2 columns to at least 2 columns. </p>
issue