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