Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: I created an NPM package to AI sync my translations in seconds (npmjs.com)
1 point by cvicpp123 32 days ago | hide | past | favorite | 2 comments


This is awesome. The promise of reliably preserving formatting and placeholders like {{username}} is the absolute killer feature here.

I'm really curious about the prompt engineering involved. How do you instruct the model to translate the surrounding text while ensuring it never touches the placeholders or any embedded HTML, especially since syntax can vary between languages?

That seems like the most difficult part of the problem to solve robustly.

Great work!


You can see it being used in my other project: https://tududi.com




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

Search: