Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add arabic support to DeepL translations #4

Open
alltheseas opened this issue Mar 18, 2024 · 1 comment
Open

Add arabic support to DeepL translations #4

alltheseas opened this issue Mar 18, 2024 · 1 comment
Labels

Comments

@alltheseas
Copy link

cc @jb55 @tyiu

https://www.deepl.com/en/blog/deepl-welcomes-arabic

@alltheseas alltheseas changed the title Add arabic DeepL API + fonts as necessary Add arabic support via DeepL API + fonts as necessary Mar 18, 2024
@jb55 jb55 transferred this issue from damus-io/damus Mar 18, 2024
@jb55 jb55 changed the title Add arabic support via DeepL API + fonts as necessary Add arabic support Mar 18, 2024
@jb55
Copy link
Contributor

jb55 commented Mar 18, 2024

just need to update

api/src/translate.js

Lines 6 to 7 in 03900ce

const translate_sources = new Set(['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', 'EL', 'EN', 'EN-GB', 'EN-US', 'ES', 'ET', 'FI', 'FR', 'HU', 'ID', 'IT', 'JA', 'KO', 'LT', 'LV', 'NB', 'NL', 'PL', 'PT', 'PT-BR', 'PT-PT', 'RO', 'RU', 'SK', 'SL', 'SV', 'TR', 'UK', 'ZH'])

@jb55 jb55 changed the title Add arabic support Add arabic support to DeepL translations Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

Successfully merging a pull request may close this issue.

2 participants