Skip to content

create_multilingual_glossary_from_csv() Takes source_lang and target_lang parameters which defeats the point of the function. #166

Description

@NC3GmbH

Currently, the function create_multilingual_glossary_from_csv(name: str, source_lang: str, target_lang: str, csv_data) requires both input and target language parameters. All entries added to the function from a CSV file are added to the created glossary, but the provided translation parameters are ignored. In the created glossary, all word pairs are in the format 'source_language -> target_language', even when the CSV entries have different language combinations.
Input .csv example:
"blockchain","Blockchain","EN","DE" "data breach","Datenleck","EN","DE" "encryption","Verschlüsselung","EN","DE" "latency","Latenz","EN","DE" "Datenleck","data breach","DE","EN" "IP-Adresse","IP address","DE","EN" "Latenz","latency","DE","EN" "stranden","Strand","DA","DE"
Output glossary example (downloaded from DeepL)
"""blockchain""","Blockchain","DE","EN" "Datenleck","data breach","DE","EN" "IP-Adresse","IP address","DE","EN" "Latenz","latency","DE","EN" "data breach","Datenleck","DE","EN" "encryption","Verschlüsselung","DE","EN" "latency","Latenz","DE","EN" "stranden","Strand","DE","EN"

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