- Joined
- Oct 15, 2019
- Messages
- 1,596
In case you haven’t noticed, I like experimenting with AI, like the muck around I did with AI animated images:
It’s fun. Sometimes it's really useful. And it's usually pretty easy (especially when you can just ask an AI to explain it to you).
I use ChatGPT a lot for coding and writing copy for landing pages because it’s good, sometimes really good. And recently I had a landing page I wanted to translate, so I thought I’d get ChatGPT to work on it.
Here’s what I asked ChatGPT to do:
“I've got a very simple landing page in English and I'd like to show the page to visitors in the language set in their browser... I'd like you to help me write a script that dynamically inserts the appropriate language version in place of the English version. I want the script and translations to be in their own translations.js file and not have to touch the html file at all, just call the translations.js file in the <head> and let it do all the work. Initially I just want translations for Thai, German, Indonesian, Malay and Spanish and I'd like you to write those language versions (for
It’s fun. Sometimes it's really useful. And it's usually pretty easy (especially when you can just ask an AI to explain it to you).
I use ChatGPT a lot for coding and writing copy for landing pages because it’s good, sometimes really good. And recently I had a landing page I wanted to translate, so I thought I’d get ChatGPT to work on it.
Here’s what I asked ChatGPT to do:
“I've got a very simple landing page in English and I'd like to show the page to visitors in the language set in their browser... I'd like you to help me write a script that dynamically inserts the appropriate language version in place of the English version. I want the script and translations to be in their own translations.js file and not have to touch the html file at all, just call the translations.js file in the <head> and let it do all the work. Initially I just want translations for Thai, German, Indonesian, Malay and Spanish and I'd like you to write those language versions (for
Last edited: