Step-by-step instructions on how to translate a website, pre-landing, or Landing Page using ChatGPT. The result is almost as good as a native speaker translation, while the price is much lower and it takes only 15-20 minutes.
Detailed guide on how to work and how to pay for ChatGPT subscription: https://cpa.rip/en/services/chatgpt-guide/.
The first thing you need to do is to prepare a file for translation.
- Find the
index.html
file in the Landing Page folder, you may have a different name, but the file type will be .html or .php.
- Right-click and select “open with”.
- In the list that appears, select Notepad (or other text editor).
- After Notepad with the code opens, save it separately in .txt format.
Then go to the ChatGPT dialog, upload the prepared file, and write “Translate all text in this file into Spanish without changing the code block”
You can also send to ChatGPT not the file, but the code copied from it.
Periodically ChatGPT will stop the translation, to continue – click “Continue generating”.
After the translation is complete, copy the generated code and paste it into the index file, in our example index.html
.
As a result, all the code remains untouched and only the text value is changed, you can check it by comparing both codes:
This ensures that the page layout is not broken and does not require additional manual editing.
Result
The pre-landing before the translation looked as follows:
After ChatGPT-4o translation:
Landing is ready – if necessary, change the offer, names, and photos (by replacing files).