Translate taxonomy term programmatically
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.