Urgent.News

What's breaking now, across thousands of outlets.

More in Tech

Translating a content app into 46 languages without a translation API bill

When I added more languages to dizi.jpg, my TV show and movie tracker, the obvious plan was to call a commercial translation API whenever a description was missing in the user's language.

  • Initially planned to use commercial translation API, abandoned due to high costs
  • Translates descriptions offline in batches using open-source models
  • Batch translation is cost-effective, maintains zero latency for users

weave: structural merging for different languages

  • Weave merges code at entity level (functions, classes, keys) instead of line-based
  • Tested on seven languages with 31 scenarios, 2 not merging cleanly
  • Outperforms Git and Mergifar, handling genuine divergent concurrent additions

More from Friday 25 September →