How deepl/deepl-dotnet works
DeepL .NET is a client SDK for sending text and documents to DeepL’s language AI API and managing related translation resources. An application creates a DeepLClient and invokes inherited translation operations or resource-management methods; the library builds HTTP requests, communicates with DeepL, and returns typed results. The README also documents rephrasing and configuration options, while the tree identifies style rules and translation-memory workflows. Source excerpts are partial, so links for unsampled capabilities show documented or declared responsibilities without inferring internal call sequences.
Main entry points: DeepLHttpClient.cs HTTP transport · DeepLClient.cs DeepL client · Translator.cs Text translation · TextTranslateOptions.cs Request options
Components 17
Client API
- DeepL client
DeepL/DeepLClient.cs - Translator
DeepL/Translator.cs - Request options
DeepL/TextTranslateOptions.cs
Translation features
- Text translation
DeepL/Translator.cs - Document translation
DeepL/Translator.cs - Text rephrasing
DeepL/Translator.cs - Language listing
DeepL/Translator.cs - Usage reporting
DeepL/Translator.cs
Translation resources
- Glossary management
DeepL/DeepLClient.cs - Style rules
DeepL/DeepLClient.cs - Translation memory
DeepL/DeepLClient.cs
HTTP and models
- Typed results
DeepL/Model/TextResult.cs - HTTP transport
DeepL/Internal/DeepLHttpClient.cs - JSON utilities
DeepL/Internal/JsonUtils.cs
Other components
- Application
- DeepL API
- TMX files
Connections 19
- Application → DeepL client: creates and calls
- DeepL client → Translator: inherits API
- Application → Text translation: requests translation
- Application → Document translation: requests translation
- Application → Text rephrasing: requests rephrasing
- Application → Language listing: lists languages
- Application → Usage reporting: requests usage
- Application → Glossary management: manages glossaries
- Application → Style rules: manages styles
- Application → Translation memory: manages memory
- Text translation → Request options: accepts options
- Document translation → Request options: accepts options
- Translator → HTTP transport: sends API requests
- DeepL client → HTTP transport: sends resource requests
- HTTP transport → DeepL API: exchanges HTTP
- HTTP transport → JSON utilities: deserializes responses
- Text translation → Typed results: returns results
- Document translation → Typed results: returns status
- Translation memory → TMX files: imports or exports