Translate taxonomy term programmatically How can I translate a taxonomy term programmatically in drupal 8?
I found how to get the translated taxonomy term programmatically? but this is only related to d7.
In D8 you can translate entities with addTranslation().

This is an example for a taxonomy term:

$term-&gt;addTranslation($langcode, [
  'name' =&gt; 'translated term',
])-&gt;save();


You can provide values for all translatable fields in the array.