We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This example - https://github.com/DeepLcom/deepl-dotnet?tab=readme-ov-file#listing-entries-in-a-stored-glossary doesn't work:
var entries = translator.GetGlossaryEntriesAsync(myGlossary); foreach (KeyValuePair<string, string> entry in entries.ToDictionary()) { Console.WriteLine($"{entry.Key}: {entry.Value}"); } // prints: // artist: Maler // prize: Gewinn
.ToDictionary() is not a valid definition, so the example isn't working as expected
The text was updated successfully, but these errors were encountered:
Thanks for this report, there is a small error in the example code (the async method is not being awaited). The following works for me on 1.11.0.
await
var entries = await translator.GetGlossaryEntriesAsync(myGlossary); foreach (KeyValuePair<string, string> entry in entries.ToDictionary()) { Console.WriteLine($"{entry.Key}: {entry.Value}"); } // prints: // artist: Maler // prize: Gewinn
I will fix the readme.
Sorry, something went wrong.
No branches or pull requests
This example - https://github.com/DeepLcom/deepl-dotnet?tab=readme-ov-file#listing-entries-in-a-stored-glossary doesn't work:
.ToDictionary() is not a valid definition, so the example isn't working as expected
The text was updated successfully, but these errors were encountered: