You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Problem:
createMultilingualGlossaryFromCsvit is required to pass thesourceLanguageCodeandtargetLanguageCodeparameters, which is weird, since Multilingual Glossaries themselves have no source and target languages.createGlossaryFromCsvInternal, which creates a glossary with one single dictionary with the given source- and targetLanguageCode.Expected behavior:
createMultilingualGlossaryFromCsvshould not accept thesourceLanguageCodeandtargetLanguageCodeparameterscreateGlossaryFromCsvInternalshould 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.