React SPA to translate text to different languages (yes, even to emojis π!!).
Using Cohere AI technologies, developed with Typescript.
- Translation to a high range of languages:
- English
- French
- German
- Spanish
- Portuguese
- Italian
- Mandarin
- Korean
- Japanese
- Arabic
- Emojis π (yes, it's actually true)
- Interchange of translations, to modify for example the target translation one.
- Speech of the translation.
- Copy of the translation to clipboard.
- In the left side selector you can select the source language, as shown in the image bellow, or leave the Cohere AI to auto detect it.
- In the right selector you must chose one language from the list.
- You are able to interchange language texts when the auto detect option is not selected.
- Both translation areas provide copy to clipboard and hearing the text with the speech functionality.
- Log into the Cohere dashboard
- Navigate to API Keys section
- Create a new one, indicating a related name
After clonning the repository, add a .env
file with the following content:
VITE_COHERE_API_KEY=YOUR-COHERE-DEVELOPER-CLIENT-ID
In the root directory of the repo, install the NPM packages with:
pnpm install
Run an instance in localhost:5173 with:
pnpm run dev
Contributions are welcome! If you have ideas to enhance the AI translator App βwhether itβs adding new features, improving the design, or expanding the contentβ feel free to submit a pull request. You can also share suggestions or feedback to help make this project even better!
If you find AI translator App helpful or you like what we're doing, please consider giving the repository a star! It's a quick way to show your support for this project.