This simple React app will translate given text to any language in the DeepL Translate library.
In the interest of security, I have not included an API Key in this version. You will find a config.js file in the src directory, with the following code:
export const config = {
API_KEY: "Your API key goes here 😊",
};
Simply replace the value of API_KEY with your DeepL Free key to start translating.
First, download the repo using your chosen method, navigate to the folder containing the code, then run:
This installs dependencies. Then in the project directory, you can run:
This runs the app in the development mode. Open http://localhost:3000 to view it in the browser.