Skip to content

Commit

Permalink
Support language codes ary and arz
Browse files Browse the repository at this point in the history
  • Loading branch information
hmlendea committed May 24, 2023
1 parent 019849c commit 3322954
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TransliterationAPI/Service/TransliterationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ async Task<string> GetTransliteratedText(string text, string language)
case "ady": // Adyghe
return await translitterationDotComTransliterator.Transliterate(text, "ady", "iso-9");
case "ar": // Arabic
case "ary": // Maghrebi Arabic
case "arz": // Egyptian Arabic
return arabicTransliterator.Transliterate(text);
case "ba": // Bashkir
return await translitterationDotComTransliterator.Transliterate(text, "bak", "iso-9");
Expand Down

0 comments on commit 3322954

Please sign in to comment.