Gets a translation of the data.
The returned translation has to be implement the same typed data interfaces as this typed data object, excluding the TranslatableInterface. E.g., if this typed data object implements the ComplexDataInterface and AccessibleInterface, the translation object has to implement both as well.
$langcode: The language code of the translation to get or Language::LANGCODE_DEFAULT to get the data in default language.
$strict: (optional) If the data is complex, whether the translation should include only translatable properties. If set to FALSE, untranslatable properties are included (in default language) as well as translatable properties in the specified language. Defaults to TRUE.
\Drupal\Core\TypedData\TypedDataInterface A typed data object for the translated data.
public function getTranslation($langcode, $strict = TRUE);