Skip to content

Dev-LucasNunes/Translate_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Translate_app

This is a simple text translation program that utilizes an API for translation. It allows users to input a text, choose the source and target languages, and get the translated text. Additionally, it saves the original and translated text into a file with a timestamp.

app.mp4

Features

Translates text from one language to another using an API. Supports multiple languages. Saves the original and translated text into a file with a timestamp. Provides a progress bar to indicate translation progress.

Installation

Clone the repository:

git clone https://github.com/your-username/your-repository.git

Install dependencies:

bundle install

Usage

Run the program:

ruby main.rb
  • Enter the text you want to translate when prompted.

  • Choose the source and target languages from the provided options.

  • Wait for the translation to complete.

  • View the translated text on the console.

  • Find the original and translated text saved in a file with a timestamp.

Dependencies

tty-prompt: For interactive prompts. tty-progressbar: For displaying a progress bar. colorize: For adding colors to the console output.

Contributing

Contributions are welcome! If you find any issues or want to improve the program, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Tradutor de texto como forma de estudo de consumo de API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages