Skip to content

Commit 7067183

Browse files
author
Lars Klein
committed
feat: add nl as supported glossary language
1 parent 1332180 commit 7067183

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ number is used only for corrections to the OpenAPI specification, for example:
1010
typos, schema fixes, or adding examples.
1111

1212

13+
## [2.5.0]
14+
### Added
15+
* Add support for EN (English) ←→ NL (Dutch) glossaries.
16+
17+
1318
## [2.4.0]
1419
### Added
1520
* Add formality options prefer_less and prefer_more.

openapi.json

+6-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"name": "DeepL - Contact us",
99
"url": "https://www.deepl.com/contact-us"
1010
},
11-
"version": "2.3.0"
11+
"version": "2.5.0"
1212
},
1313
"externalDocs": {
1414
"description": "DeepL Pro - Plans and pricing",
@@ -35,7 +35,7 @@
3535
},
3636
{
3737
"name": "ManageGlossaries",
38-
"description": "The *glossary* functions allow you to create, inspect, and delete glossaries.\nGlossaries created with the glossary function can be used in translate requests by specifying the\n`glossary_id` parameter.\nIf you encounter issues, please let us know at [email protected].\n\nCurrently, glossaries for the following language combinations are supported:\n\n- EN (English) \u2192 DE (German)\n- DE (German) \u2192 EN (English)\n- EN (English) \u2192 FR (French)\n- FR (French) \u2192 EN (English)\n- EN (English) \u2192 ES (Spanish)\n- ES (Spanish) \u2192 EN (English)\n- EN (English) \u2192 JA (Japanese)\n- JA (Japanese) \u2192 EN (English)\n- EN (English) \u2192 IT (Italian)\n- IT (Italian) \u2192 EN (English)\n- EN (English) \u2192 PL (Polish)\n- PL (Polish) \u2192 EN (English)\n- DE (German) \u2192 FR (French)\n- FR (French) \u2192 DE (German)\n\nThe maximum size limit for a glossary is 10 MiB = 10485760 bytes and each source/target text,\nas well as the name of the glossary, is limited to 1024 UTF-8 bytes.\nA total of 1000 glossaries are allowed per account.\n\n\nGlossaries created via the DeepL API are distinct from glossaries created via the DeepL website and DeepL apps.\nThis means API glossaries cannot be used on the website and vice versa.\n\n\n\nNote that glossaries are immutable: once created, the glossary entries for a given glossary ID cannot be modified.\n\nAs a workaround for effectively editable glossaries, we suggest to identify glossaries by name instead of ID in your application\nand then use the following procedure for modifications:\n- [download](https://www.deepl.com/docs-api/glossaries/get-glossary-entries) and store the current glossary's entries,\n- locally modify the glossary entries,\n- [delete](https://www.deepl.com/docs-api/glossaries/delete-glossary) the existing glossary,\n- [create a new glossary](https://www.deepl.com/docs-api/glossaries/create-glossary) with the same name."
38+
"description": "The *glossary* functions allow you to create, inspect, and delete glossaries.\nGlossaries created with the glossary function can be used in translate requests by specifying the\n`glossary_id` parameter.\nIf you encounter issues, please let us know at [email protected].\n\nCurrently, glossaries for the following language combinations are supported:\n\n- EN (English) \u2192 DE (German)\n- DE (German) \u2192 EN (English)\n- EN (English) \u2192 FR (French)\n- FR (French) \u2192 EN (English)\n- EN (English) \u2192 ES (Spanish)\n- ES (Spanish) \u2192 EN (English)\n- EN (English) \u2192 JA (Japanese)\n- JA (Japanese) \u2192 EN (English)\n- EN (English) \u2192 IT (Italian)\n- IT (Italian) \u2192 EN (English)\n- EN (English) \u2192 PL (Polish)\n- PL (Polish) \u2192 EN (English)\n- EN (English) \u2192 NL (Dutch)\n- NL (Dutch) \u2192 EN (English)\n- DE (German) \u2192 FR (French)\n- FR (French) \u2192 DE (German)\n\nThe maximum size limit for a glossary is 10 MiB = 10485760 bytes and each source/target text,\nas well as the name of the glossary, is limited to 1024 UTF-8 bytes.\nA total of 1000 glossaries are allowed per account.\n\n\nGlossaries created via the DeepL API are distinct from glossaries created via the DeepL website and DeepL apps.\nThis means API glossaries cannot be used on the website and vice versa.\n\n\n\nNote that glossaries are immutable: once created, the glossary entries for a given glossary ID cannot be modified.\n\nAs a workaround for effectively editable glossaries, we suggest to identify glossaries by name instead of ID in your application\nand then use the following procedure for modifications:\n- [download](https://www.deepl.com/docs-api/glossaries/get-glossary-entries) and store the current glossary's entries,\n- locally modify the glossary entries,\n- [delete](https://www.deepl.com/docs-api/glossaries/delete-glossary) the existing glossary,\n- [create a new glossary](https://www.deepl.com/docs-api/glossaries/create-glossary) with the same name."
3939
},
4040
{
4141
"name": "MetaInformation",
@@ -1667,7 +1667,8 @@
16671667
"fr",
16681668
"ja",
16691669
"it",
1670-
"pl"
1670+
"pl",
1671+
"nl"
16711672
],
16721673
"example": "en"
16731674
},
@@ -1681,7 +1682,8 @@
16811682
"fr",
16821683
"ja",
16831684
"it",
1684-
"pl"
1685+
"pl",
1686+
"nl"
16851687
],
16861688
"example": "de"
16871689
},

openapi.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ info:
77
contact:
88
name: DeepL - Contact us
99
url: https://www.deepl.com/contact-us
10-
version: 2.3.0
10+
version: 2.5.0
1111
externalDocs:
1212
description: DeepL Pro - Plans and pricing
1313
url: https://www.deepl.com/pro?cta=header-prices/
@@ -52,6 +52,8 @@ tags:
5252
- IT (Italian) → EN (English)
5353
- EN (English) → PL (Polish)
5454
- PL (Polish) → EN (English)
55+
- EN (English) → NL (Dutch)
56+
- NL (Dutch) → EN (English)
5557
- DE (German) → FR (French)
5658
- FR (French) → DE (German)
5759
@@ -1393,6 +1395,7 @@ components:
13931395
- ja
13941396
- it
13951397
- pl
1398+
- nl
13961399
example: en
13971400
GlossaryTargetLanguage:
13981401
type: string
@@ -1405,6 +1408,7 @@ components:
14051408
- ja
14061409
- it
14071410
- pl
1411+
- nl
14081412
example: de
14091413
SourceLanguage:
14101414
type: string

0 commit comments

Comments
 (0)