From ad599d8c60264a4f25ce9debe4ba3ba1eb6f67ff Mon Sep 17 00:00:00 2001 From: Phil Helliwell Date: Thu, 16 May 2024 21:47:24 +0100 Subject: [PATCH] Add support for Arabic as a source/target language Deepl now supports Arabic for text translation: https://developers.deepl.com/docs/resources/supported-languages#target-languages --- lib/helpers/language_validator.ex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/helpers/language_validator.ex b/lib/helpers/language_validator.ex index 4d0a0dd..7ec19b1 100644 --- a/lib/helpers/language_validator.ex +++ b/lib/helpers/language_validator.ex @@ -4,6 +4,7 @@ defmodule DeeplEx.LanguageValidator do """ @valid_source_languages [ + :AR, :BG, :CS, :DA, @@ -36,6 +37,7 @@ defmodule DeeplEx.LanguageValidator do ] @valid_target_languages [ + :AR, :BG, :CS, :DA,