Show HN: I coded my own JSON translation tool to easily localize my side project Hi HN, I’m Joan, the developer of Quicklang. I made this app to easily translate and keep in sync all my localization JSON files for my side projects. While searching online for a similar tool, I only found enterprise solutions that do not allow direct editing of JSON files. I used to use ChatGPT to translate the JSON translation file changes before coding Quicklang. However, I realized that ChatGPT only allows you to input short content for translation into another language (even if you provide a .json file), and each time I had to request translations for one language at a time. So, I decided to build an app that only sends the changes I’ve made to the OpenAI API and easily translates them into all the target languages for my side projects. Technical details: I used Next.js to build the front end and backend, and I use a custom VPS (EC2 instance) on AWS to handle the translation process. This is because the translation can take several minutes, and Vercel Functions time out after 10 seconds by default (up to 60 seconds on the Hobby plan). Finally, I save the translation files in an S3 bucket. What’s next? I want to add cool features like change history, the capability to add context to the OpenAI API to make translations as accurate as possible, and maybe allow developers to interact with the API in order to use the tool. Let me know your thoughts and feedback. It’s been a blast working on this so far, and I think it’s just neat :) https://ift.tt/8uLx9wS July 8, 2024 at 11:16PM
Show HN: I coded my own JSON translation tool to easily localize my side project https://ift.tt/QHcFI0n
Related Articles
Show HN: InvokeAI, an open source Stable Diffusion toolkit and WebUI https://ift.tt/q3RL97QShow HN: InvokeAI, an open source Stable Diffusion toolkit and WebUI H… Read More
Show HN: AI-Generated Photography https://ift.tt/p9Rk1gPShow HN: AI-Generated Photography https://nyx.gallery/ October 12, 202… Read More
Show HN: Record and play back your pipes (debugging) https://ift.tt/jm3hvU8Show HN: Record and play back your pipes (debugging) https://ift.tt/fW… Read More
Show HN: Reverse Engineering an Old Digital Back Raw File Format https://ift.tt/1mBPtjYShow HN: Reverse Engineering an Old Digital Back Raw File Format Perha… Read More
Show HN: The two most useful email filters https://ift.tt/tqjTRxUShow HN: The two most useful email filters The two most useful email f… Read More
Show HN: Using AI to write picture books https://ift.tt/bLcQ79eShow HN: Using AI to write picture books Ever wanted to create your ow… Read More
Show HN: Komorebi – A tiling window manager for Windows 10/11 written in Rust https://ift.tt/RgcHvlsShow HN: Komorebi – A tiling window manager for Windows 10/11 written … Read More
Show HN: Polestar Finder https://ift.tt/rvkn2lRShow HN: Polestar Finder https://ift.tt/hPE6J8w October 11, 2022 at 12… Read More
0 Comments: