Polyglot App is a React application that leverages the OpenAI API to translate text into French, Japanese, and Spanish.
Polyglot App allows users to easily translate text into different languages using the power of OpenAI. Whether you need a quick translation or want to explore the capabilities of language translation, Polyglot App has you covered.
- Translate text into French, Japanese, and Spanish.
- Utilizes the OpenAI API for accurate and efficient translations.
- Simple and user-friendly React interface.
-
Clone the repository:
git clone https://github.com/OmarMWarraich/ai-polyglot-app.git
-
Navigate to the project directory:
cd ai-polyglot-app
-
Install the dependencies:
npm install
-
Start the application:
npm start
-
Navigate to the application in your browser:
http://localhost:3000/
-
Enter text into the input field and select a language to translate to.
-
Click the "Translate" button to translate the text.
Polyglot App is configured to use the OpenAI API. To set up your API key, create a .env file in the root directory of the project and add your OpenAI API key:
REACT_APP_OPENAI_API_KEY=YOUR_API_KEY
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the terms of the MIT license.