Class SourceDictionaryLanguage
java.lang.Object
com.azure.ai.translation.text.models.SourceDictionaryLanguage
Properties ot the source dictionary language.
-
Method Summary
Modifier and TypeMethodDescriptiongetDir()
Get the dir property: Directionality, which is rtl for right-to-left languages or ltr for left-to-right languages.getName()
Get the name property: Display name of the language in the locale requested via Accept-Language header.Get the nativeName property: Display name of the language in the locale native for this language.Get the translations property: List of languages with alterative translations and examples for the query expressed in the source language.
-
Method Details
-
getName
Get the name property: Display name of the language in the locale requested via Accept-Language header.- Returns:
- the name value.
-
getNativeName
Get the nativeName property: Display name of the language in the locale native for this language.- Returns:
- the nativeName value.
-
getDir
Get the dir property: Directionality, which is rtl for right-to-left languages or ltr for left-to-right languages.- Returns:
- the dir value.
-
getTranslations
Get the translations property: List of languages with alterative translations and examples for the query expressed in the source language.- Returns:
- the translations value.
-