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: A New Kind of Chat Room https://ift.tt/uNsmCx6Show HN: A New Kind of Chat Room I’ve developed an application that re… Read More
Show HN: Open-source Tableau alternative but as React component plus DuckDB-WASM https://ift.tt/L5CP3f0Show HN: Open-source Tableau alternative but as React component plus D… Read More
Show HN: Get paid to do your own ML research https://ift.tt/ylsvHmRShow HN: Get paid to do your own ML research I'm launching an experime… Read More
Show HN: FlashText with Rust for Python https://ift.tt/evd1nbUShow HN: FlashText with Rust for Python LeNLP is a toolbox dedicated t… Read More
Show HN: Blue Noise – Interactive Explanation of Void and Cluster Algorithm https://ift.tt/l9MLP1rShow HN: Blue Noise – Interactive Explanation of Void and Cluster Algo… Read More
Show HN: Meal planning – without the mental load https://ift.tt/kcEfAr7Show HN: Meal planning – without the mental load TLDR; I applied the c… Read More
Show HN: Awesome CI/CD Attacks https://ift.tt/djAJNHWShow HN: Awesome CI/CD Attacks https://ift.tt/myfSt9o May 28, 2024 at … Read More
Show HN: I've Created the First Artificial Memory (and It's Open-Source) https://ift.tt/L1xT9HkShow HN: I've Created the First Artificial Memory (and It's Open-Sourc… Read More
0 Comments: