This method will update the field mapped to Locale if it does not match the $locale argument.
public bindTranslation ( object $document, string $locale ) | ||
$document | object | the document to persist a translation of |
$locale | string | the locale this document currently has |