File tree 3 files changed +7
-0
lines changed
3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
* Add [ example script] ( examples/mustache ) to translate Mustache templates.
11
11
* Add support for storing your API Key in a keyring via the ` keyring ` module.
12
12
* Added a CI check for copyright headers.
13
+ * New languages available: Korean (` 'ko' ` ) and Norwegian (bokmål) (` 'nb' ` ). Add language code constants and tests.
14
+
15
+ Note: older library versions also support the new languages, this update only adds new code constants.
13
16
### Changed
14
17
### Deprecated
15
18
### Removed
Original file line number Diff line number Diff line change @@ -356,8 +356,10 @@ def remove_regional_variant(language: Union[str]) -> str:
356
356
INDONESIAN = "id"
357
357
ITALIAN = "it"
358
358
JAPANESE = "ja"
359
+ KOREAN = "ko"
359
360
LITHUANIAN = "lt"
360
361
LATVIAN = "lv"
362
+ NORWEGIAN = "nb"
361
363
DUTCH = "nl"
362
364
POLISH = "pl"
363
365
PORTUGUESE = "pt" # Only usable as a source language
Original file line number Diff line number Diff line change @@ -382,8 +382,10 @@ def output_document_path(tmpdir):
382
382
"ID" : "berkas proton" ,
383
383
"IT" : "fascio di protoni" ,
384
384
"JA" : "陽子ビーム" ,
385
+ "KO" : "양성자 빔" ,
385
386
"LT" : "protonų spindulys" ,
386
387
"LV" : "protonu staru kūlis" ,
388
+ "NB" : "protonstråle" ,
387
389
"NL" : "protonenbundel" ,
388
390
"PL" : "wiązka protonów" ,
389
391
"PT" : "feixe de prótons" ,
You can’t perform that action at this time.
0 commit comments