Skip to content

Commit

Permalink
Merge pull request #27 from dusantasioso/master
Browse files Browse the repository at this point in the history
Add new languages
  • Loading branch information
asioso authored Nov 6, 2023
2 parents 88b65ae + 82215e0 commit d3d846e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,19 @@ With DeepL the following languages can currently be translated:
* Danish
* Greek
* Estonian
* Finish
* Finnish
* Hungarian
* Lithuanian
* Latvian
* Romanian
* Slovak
* Slovenian
* Swedish
* Indonesian
* Korean
* Norwegian (Bokmål)
* Turkish
* Ukrainian

## Prerequisites
* PHP 8.1 or higher (https://secure.php.net/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ function isDeeplLanguage(lang) {
"sk",
"sl",
"sv",
// again new languages
"id",
"ko",
"nb",
"tr",
"uk"
];

return deeplLanguages.includes(lang);
Expand Down

0 comments on commit d3d846e

Please sign in to comment.