from Hacker News

Open Source tool to translate JSON locales files with Chat GPT

by zarazas on 4/11/23, 1:46 PM with 1 comments

  • by dtagames on 4/11/23, 1:58 PM

    The documentation for this tool doesn't explain how to choose what language you want.

    A better alternative is to simply start the ChatGPT web interface with this prompt: "I'm going to paste in a JSON file and I'd like you translate the values to (language) without changing the keys."

    When ChatGPT replies, paste in your JSON file and you'll get JSON back.