Translating Text

Translate input text into one of the Language service-supported target languages.

    1. Open the navigation menu and click Analytics & AI. Under AI Services, click Language.
    2. In the left-side navigation menu, click Text translation.
    3. Select the Source language and Target language languages.
    4. Paste or enter text into the Source language text box.
    5. Click Translate.

      The results are displayed in the target dialog box. Use Reset to start a new translation.

      Tip

      Use Copy to copy the translated text to the clipboard to use elsewhere.
  • Use the oci ai language batch-language-translation command and required parameters to translate one or more files:

    oci ai language batch-language-translation --documents [<list-of-documents>] ... [OPTIONS]

    Example:

    oci ai language batch-language-translation --documents '[{"key": "1","languageCode": "en","text": "hello world"}]' 
    --target-language-code es

    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.

  • Run the BatchLanguageTranslation operation to translate one or more files.