I’m having some trouble finding how to handle field translations in the documentation.
I have a requirement to keep certain fields in English and Japanese. I periodically have to update nodes and taxonomy terms programmatically. I’m doing this with a combination of EntityQuery and the Entity class.
Is there a set function that takes a language code? For example;
$term->set('field_my_field', 'my value', 'ja');