Skip to content

Commit c778bb1

Browse files
authored
Update supported language codes for translation
Updated the list of supported language codes in the translate_message_text.py file.
1 parent 3ee39e8 commit c778bb1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyrogram/methods/messages/translate_message_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async def translate_message_text(
5252
"ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr",
5353
"st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu"
5454
Defaults to the client's language code.
55-
55+
5656
tone (``str``, *optional*):
5757
Tone of the translation.
5858
Must be one of "formal", "neutral", "casual".

0 commit comments

Comments
 (0)