3 ms·
plugging my own project: https://github.com/KevinColemanInc/i18n-translate-go https://github.com/KevinColemanInc/i18n-translate-go Works well for i18njs. The
by itake 2y ago
plugging my own project:
https://github.com/KevinColemanInc/i18n-translate-go https://github.com/KevinColemanInc/i18n-translate-go
Works well for i18njs. The issues I ran into are: chat-gpt didn't translate all the keys in the batch (especially for obscure languages like Laos) and sometimes the chatgpt output invalid unicode (see error in the readme).
- jboschpons 2y agoHey! 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.
- itake 2y agoI 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.