Class TargetDictionaryLanguage
java.lang.Object
com.azure.ai.translation.text.models.TargetDictionaryLanguage
Properties of the target dictionary language.
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Get the code property: Language code identifying the target language.Get the directionality 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.
-
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.
-
getDirectionality
Get the directionality property: Directionality, which is rtl for right-to-left languages or ltr for left-to-right languages.- Returns:
- the directionality value.
-
getCode
Get the code property: Language code identifying the target language.- Returns:
- the code value.
-