Skip to content

Commit

Permalink
Add support for translating to and from Arabic for DeepL
Browse files Browse the repository at this point in the history
Closes: #8
Link: 3daa033d2a0cb05865118354de48215cf2a3d135cb401082e9fff2218bea3bf2-1714840580
Signed-off-by: William Casarin <[email protected]>
  • Loading branch information
tyiu authored and jb55 committed May 7, 2024
1 parent c2751d1 commit 2b5ce63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/translate/deepl.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
const translate_sources = new Set([
'bg', 'cs', 'da', 'de', 'el',
'ar', 'bg', 'cs', 'da', 'de', 'el',
'en', 'es', 'et', 'fi', 'fr',
'hu', 'id', 'it', 'ja', 'ko',
'lt', 'lv', 'nb', 'nl', 'pl',
'pt', 'ro', 'ru', 'sk', 'sl',
'sv', 'tr', 'uk', 'zh'
])
const translate_targets = new Set([
'bg', 'cs', 'da', 'de',
'ar', 'bg', 'cs', 'da', 'de',
'el', 'en', 'en-gb', 'en-us',
'es', 'et', 'fi', 'fr',
'hu', 'id', 'it', 'ja',
Expand Down

0 comments on commit 2b5ce63

Please sign in to comment.