Documentation for Translation API (Code text) in Drupal 8.
How to make Drupal sites that are completely displayed in different languages