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
Describe the bug
With the npm package "deepl-node" it is not possible to make translations based on a glossary.
It works with a normal fetch instead of using the library.
To Reproduce
Steps to reproduce the behavior:
install the npm-package "deepl-node"
add a glossary to deepl
use the function "translateText" with an existing glossaryId
Expected behavior
The glossary should be included when translating and the resulted translation should contain the defined word from the glossary.
The text was updated successfully, but these errors were encountered:
Hi, what exactly does not work about this? Do you get an error? is the glossary not applied? We have a test covering this use case and I cannot reproduce this locally.
I checked with const result = await translator.translateText('That is hot', 'EN', targetLang, {glossary: '0a6c701e-303a-41ba-a167-857c5b720a4c'});
which is translated to "Das ist heiß" without a glossary and "Das ist scharf" with a glossary that maps 'hot' => 'scharf'.
Describe the bug
With the npm package "deepl-node" it is not possible to make translations based on a glossary.
It works with a normal fetch instead of using the library.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The glossary should be included when translating and the resulted translation should contain the defined word from the glossary.
The text was updated successfully, but these errors were encountered: