GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — java-sdk/language-translator/README.md at develop · semtle/java-sdk

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
35 lines (27 loc) · 1022 Bytes
/

README.md

Copy path

File metadata and controls

35 lines (27 loc) · 1022 Bytes
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Language Translator

Formerly called Language Translation. No code changes are required to migrate.

Installation

Maven
<dependency>
	<groupId>com.ibm.watson.developer_cloud</groupId>
	<artifactId>language-translator</artifactId>
	<version>3.8.0</version>
</dependency>
Gradle
'com.ibm.watson.developer_cloud:language-translator:3.8.0'

Usage

Select a domain, then identify or select the language of text, and then translate the text from one supported language to another.
Example: Translate 'hello' from English to Spanish using the Language Translator service.

LanguageTranslator service = new LanguageTranslator();
service.setUsernameAndPassword("<username>", "<password>");

TranslationResult translationResult = service.translate(
  "hello", Language.ENGLISH, Language.SPANISH)
  .execute();

System.out.println(translationResult);
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.