Cloud Translation V3 Client - Class TransliterationConfig (1.21.0)

Reference documentation and code samples for the Cloud Translation V3 Client class TransliterationConfig.

Configures transliteration feature on top of translation.

Generated from protobuf message google.cloud.translation.v3.TransliterationConfig

Namespace

Google \ Cloud \ Translate \ V3

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ enable_transliteration
bool

If true, source text in romanized form can be translated to the target language.

getEnableTransliteration

If true, source text in romanized form can be translated to the target language.

Returns
Type
Description
bool

setEnableTransliteration

If true, source text in romanized form can be translated to the target language.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: