selectTranslation()

Overview

public query function selectTranslation(
      required string  objectName  
    , required string  id          
    , required string  languageId  
    ,          array   selectFields
    ,          string  version      = ""
    ,          boolean useCache     = true
)

Returns the equivalent translation record for the given object record (object name and id) and language

Arguments

NameTypeRequiredDescription
objectNamestringYes
idstringYes
languageIdstringYes
selectFieldsarrayNo
versionstringNo (default="")
useCachebooleanNo (default=true)