Hacker News new | past | comments | ask | show | jobs | submit | jboschpons's comments login

Hey! I ran into the same issues. In order to fix the invalid output you can specify to ChatGPT that you want to recieve the response as a JSON formatted text.


I think that is what I did: I had it use the functions api to pass the translations, but it still wouldn't output everything in the small languages.

I was a bit lazy, so I just inform the user to re-run it manually instead of automatically handling it.


Hey!

I use DeepL for real-time translation in my side project. The reason I’m not utilizing the DeepL API on my backend and instead opting for the OpenAI API is twofold:

1. OpenAI is more cost-effective compared to DeepL API. 2. I was already using ChatGPT to translate my JSON files, so there’s no change in translation quality for me.

The primary issue I wanted to resolve is easily keeping all my destination language JSON files in sync.

Cheers!


Cool, nice product. Interesting to see that you've managed to get translations working on top of chatGPT, even for languages like Arabic! I decided not to support target language edits, because I felt it would make it much more difficult to keep languages in sync, when the source string is not always leading. How do you deal with this properly? Would love to have an automatic workflow that updates the json source file, as i18n tags are being added/removed from frontend files. For versioning; maybe just take advantage of the project's (git) versioning?


Hey!

Thank you for your feedback! Quicklang is designed as a tool to synchronize and manage your JSON translation files centrally. For me, it’s good to have quick access for localizing my side projects efficiently and maintaining a changelog, among other features.

While there are several enterprise options available such as DeepL or Lokalise, they don’t quite fit my specific use case. ;)


Hey!

Good approach, but I want to translate the strings on the JSON file from some source language (spanish for me) into any destination language.

So the JSON may be:

{ "hello": "Hola" }

If the destination language is "English" the result must be:

{ "hello": "Hello" }


It was a weak joke btw.


Hey HN.

I got tired of manually copy/pasting translations from ChatGPT every time I updated my main language JSON file. So I build my own alternative.

Joan


Good!


Amazing


Isn't it?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: