Translatable::getTranslation
Gets an existing translation based on the language code.
Use as a quicker alternative to check for an existing translation without getting the actual object.
Signature
public function getTranslation(String
$locale,
[
$stage = NULL] )
Parameters
$locale
— object
$stage
—
Returns
- DataObject
- Translated object