frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Ask HN: Extract text and translate on every PR

1•danielandrews43•1y ago
One of the most tedious parts of frontend dev for our team is making sure all text is extracted to query strings for translation. We use i18n, and it’s great, but a lot falls through the cracks.

Have you set something up for your org on every pull request that pulls out text?

Comments

not_your_vase•1y ago
The last time I worked on a localized project, we had a technical fake language present in non-release envs. It was generated with every build (it was just a simple .po file, so easy to handle), and it was the same as English, but had an "x" at the start and end of each text, so you knew that it was "translated" (or at least it was translatable, and not hardcoded). QA included checking this fake language - if they found any text without X's around it, it was a clear sign of a i18n bug.
danielandrews43•1y ago
That's cool! We used machine translate to hindi for this which made it super obvious what was english / not as it was different character set (but made it hard to navigate)

Looking for something to help with DX though here, not QA

The US has collected about $13B of Venezuela's oil money. Where is it?

https://www.ft.com/content/0e562e03-106e-4729-83d7-675c27eb8c4d
1•JumpCrisscross•59s ago•0 comments

Claude Code on desktop now works with the iOS simulator

https://twitter.com/claudedevs/status/2079674432038248611
1•wertyk•2m ago•0 comments

Jeff Bridges photographs of behind the scenes movie making

https://www.washingtonpost.com/photography/2019/12/04/did-you-know-that-oscar-winner-jeff-bridges...
1•thunderbong•2m ago•0 comments

Does K3 become a competitor to the Big Three?

https://platform.kimi.ai/docs/guide/kimi-k3-quickstart
1•qiuwu•5m ago•0 comments

Big Tech AI Spree Revives Accounting Devices That Toppled Enron

https://news.bloombergtax.com/financial-accounting/big-tech-ai-spree-revives-accounting-devices-t...
2•1vuio0pswjnm7•5m ago•0 comments

The US Army Is Burning Through Its AI Tokens

https://www.wired.com/story/the-army-is-burning-through-its-ai-tokens/
2•helsinkiandrew•6m ago•0 comments

For Whom the Bull Tolls: Hemingway and Bullfighting

https://www.historytoday.com/archive/natural-histories/whom-bull-tolls-hemingway-and-bullfighting
1•Thevet•12m ago•0 comments

LeelaRookOdds's French Defense

https://lichess.org/@/codysmile11/blog/leelarookoddss-french-defense/IrHe3XFH
1•fzliu•13m ago•0 comments

Bengaluru triple murder: Why cops wanted to make AI chatbot an accomplice

https://www.indiatoday.in/india/karnataka/story/bengaluru-triple-murder-rk-puram-kenneth-ai-chatb...
1•mandliya•13m ago•0 comments

Show HN: A deterministic governance harness for agentic development loops

https://github.com/owulveryck/poc-agentic-platform
1•owulveryck•15m ago•0 comments

Legal Obligations vs. Social Contracts

https://pointieststick.com/2026/07/21/legal-obligations-vs-social-contracts/
1•jandeboevrie•18m ago•0 comments

I graded 36 popular MCP servers on agent usability. A third got a D or F

https://tengli.dev/posts/mcp-servers-failing-agents.html
2•tengbyte•19m ago•0 comments

Why did I, a libertarian anarchist, support the Örebro Party with a donation?

https://dberntsson.info/2026/07/20/orebropartiet/
1•romanzipp•20m ago•0 comments

Show HN: ReadKinetic – a free, local-first speed reader for your own books

https://www.readkinetic.com/app/
4•SamuraiLion•20m ago•1 comments

Prefactoring: Clear the Way for Your New Feature

https://testing.googleblog.com/2026/07/prefactoring-clear-way-for-your-new.html
1•jandeboevrie•21m ago•0 comments

Software glitch allowed nearly 400 non-US citizens to vote in New Jersey

https://gothamist.com/news/software-glitch-allowed-nearly-400-non-us-citizens-to-vote-in-nj-gov-s...
3•geox•26m ago•0 comments

The Conspiracy Against High Temperature Sampling

https://gist.github.com/Hellisotherpeople/71ba712f9f899adcb08b94bce20d5397
2•theanonymousone•26m ago•0 comments

Israel is building a miles-long barrier in Gaza, entrenching its division

https://apnews.com/article/israel-gaza-yellow-line-barrier-ceasefire-941ed80f6d4398ce88916f6b0875...
2•hebelehubele•28m ago•1 comments

Show HN: A new kind of FPS aim trainer

https://openaim.pramit.gg/
2•pmazumder•31m ago•0 comments

AI Cheating happening more and is hard to verify

https://www.theregister.com/ai-and-ml/2026/07/21/ais-cheatin-heart-will-make-you-weep/5275784
1•Gaishan•31m ago•0 comments

The secret Trump administration battle to fight Chinese AI

https://www.axios.com/2026/07/20/ai-us-china-open-source-kimi
1•hentrep•32m ago•0 comments

Ukraine's drone strikes put pressure on Russian economy

https://www.politico.eu/article/ukraine-drone-strikes-russian-economy-pressure/
1•Gaishan•33m ago•0 comments

Librrd Playground

https://systemf.epfl.ch/etc/librrd/
1•E-Reverance•39m ago•0 comments

DeepSeek Search Down

https://status.deepseek.com/incidents/6741259174287
1•Linserin•39m ago•0 comments

Show HN: JavaScript framework where code order matches the UI sequence

https://github.com/livetrails/targetjs
1•ahmadwasfi•40m ago•0 comments

Macaron-V1

https://macaron.im/mindlab/research/introducing-macaron-v1
1•ilreb•44m ago•0 comments

NVIDIA Synthetic Video Detector

https://build.nvidia.com/nvidia/synthetic-video-detector
2•jonbaer•46m ago•0 comments

China's 'AI for All' Offensive Defies US Containment Playbook

https://www.bloomberg.com/news/articles/2026-07-22/china-s-ai-for-all-offensive-defies-us-contain...
2•thm•48m ago•0 comments

CinematicBench, a reproducible benchmark for scroll craft

https://github.com/MustBeSimo/cinematic-scroll-skill
2•mustbesimo•51m ago•0 comments

'Everything I know about evil I learned in that small town': John Carpenter

https://www.theguardian.com/lifeandstyle/2026/jul/20/everything-i-know-about-evil-i-learned-in-th...
2•Michelangelo11•51m ago•0 comments