Skip to content

Multilingual glossary cannot be created from CSV correctly #70

Open
@MTSxoff

Description

@MTSxoff

Problem:

  • When calling createMultilingualGlossaryFromCsv it is required to pass the sourceLanguageCode and targetLanguageCode parameters, which is weird, since Multilingual Glossaries themselves have no source and target languages.
  • The parameters are passed on to createGlossaryFromCsvInternal, which creates a glossary with one single dictionary with the given source- and targetLanguageCode.
  • So, if I want to create a multilingual glossary from a CSV with 3 language pairs, I can always only select one language pair to be included in the newly created glossary.

Expected behavior:

  • createMultilingualGlossaryFromCsv should not accept the sourceLanguageCode and targetLanguageCode parameters
  • createGlossaryFromCsvInternal should iterate through the CSV entries and create dictionaries with all language pairs of the CSV. Those dictionaries should be then sent all to the endpoint, instead of just one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions