TranslateParams

data class TranslateParams(val message: String, val sourceLanguage: String = "auto", val targetLanguage: ArrayList<String>)

번역 요청 객체
Translation request object

Constructors

Link copied to clipboard
constructor(jsonObject: JSONObject)
constructor(message: String, sourceLanguage: String = "auto", targetLanguage: ArrayList<String>)

Properties

Link copied to clipboard

message

Link copied to clipboard

Language code of the original message (default. "auto") (Based on ISO 639 alpha-2. For languages that cannot be distinguished using ISO 639 alpha-2, a script tag is appended.) Use "auto" (lowercase) to enable automatic language detection.

Link copied to clipboard

Target language code(s) for translation (Based on ISO 639 alpha-2. For languages that cannot be distinguished using ISO 639 alpha-2, a script tag is appended.) Multiple language codes can be specified (e.g., "ko, en, ja").