Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Latest commit

 

History

History
70 lines (42 loc) · 1.81 KB

README.md

File metadata and controls

70 lines (42 loc) · 1.81 KB

Understand Me

Description

Understand Me is a multi-user chat that performs simultaneous translation. The user must choose a language in which to converse and all the messages received will be translated, if necessary, into the language this user chose. Each user must have an unique name, so the chat server can identify their users.

How it works?

The translation is performed by the Google Cloud Translation API. Users send a message to the server that checks their language and applies the translation if necessary to send the message to each of the other users participating in the chat.

Supported Languages

  • Portuguese
  • English
  • Spanish
  • German
  • French
  • Italian
  • Dutch

Dependencies

  • Java 8.0 or greater

Contributing

Click here to see how to contribute.

How to compile

To compile, use the IDE of your preference.

How to run

To run the chat server enter the following command:

# You need an API key to be able to use the Google Cloud Translation API
java -jar ChatServer.jar $APIKEY

And to run the chat client:

java -jar ChatClient.jar

How to use client

Enter the chat

First you need to enter the IP address of the server, then you must choose the language in which you want to chat, and finally choose a name to identify yourself on the chat server. All set, you can now send and receive messages in the chat.

Sample

Client side

Server side

Author

Breno Viana