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

Kohana, a prediction market where you write the question

https://kohana.xyz/
1•melan13•4m ago•0 comments

Rheinmetall gambled on Germany's doomed warship project – and lost

https://www.ft.com/content/e3fa2351-72bd-40e1-97e0-5a6ae0a63a2b
2•JumpCrisscross•12m ago•0 comments

Where production policy belongs: building Eliya in public

https://foojay.io/today/where-production-policy-belongs-building-eliya-in-public/
2•fahimfarookme•14m ago•2 comments

Anatomy of a Failed (Nation-State?) Attack

https://grack.com/blog/2026/06/25/dissecting-a-failed-nation-state-attack/
2•signa11•19m ago•0 comments

Ornith-1.0: Self-Scaffolding LLMs for Agentic Coding

https://deep-reinforce.com/ornith_1_0.html
1•modinfo•21m ago•0 comments

Ukrainian Attacks Spur State of Emergency Declaration in Crimea

https://www.nytimes.com/2026/06/26/world/europe/crimea-ukraine-state-emergency.html
2•JumpCrisscross•21m ago•0 comments

Codex-maxxing for long-running work

https://openai.com/index/codex-maxxing-long-running-work/
1•gmays•27m ago•0 comments

Software Is Becoming Marketing

https://www.terezatizkova.com/writing/software-abundance
2•tylerdane•35m ago•0 comments

Cybersecurity firms targeted by fraudulent OpenAI organization invites

https://www.bleepingcomputer.com/news/security/cybersecurity-firms-targeted-by-fraudulent-openai-...
1•Timofeibu•38m ago•0 comments

For Peter

https://lucybellwood.com/for-peter/
2•wonger_•41m ago•0 comments

How China Is Gutting Western Automakers (2025)

https://newsletter.dunneinsights.com/p/how-china-is-gutting-western-automakers
1•toomuchtodo•42m ago•0 comments

A man who did nothing, brilliantly

https://theidlegazette.beehiiv.com/p/the-man-who-did-nothing-brilliantly-5
1•vinhnx•47m ago•0 comments

Accidental Anonymity

https://macwright.com/2026/06/24/accidental-anonymity
1•herbertl•48m ago•0 comments

National College Entrance Examination Collection - Math – China

https://github.com/deekur/gaokaomath
1•pm2222•56m ago•0 comments

Daytona is going closed source. Here's why

https://www.daytona.io/dotfiles/updates/daytona-is-going-closed-source
3•david_shi•1h ago•0 comments

Thermodynamic gravity explains cosmic acceleration without dark energy

https://phys.org/news/2026-06-thermodynamic-approach-gravity-cosmic-dark.html
3•stevenjgarner•1h ago•1 comments

Study on the effects of listening to podcasts on headphones vs. speakers

https://www.sciencedirect.com/science/article/abs/pii/S0749597822000176
1•Curiositry•1h ago•0 comments

Being a Dad

https://www.derekthompson.org/p/three-reasons-to-be-a-parent
2•Curiositry•1h ago•1 comments

AI Erodes a Legacy of Reading

https://molochinations.substack.com/p/ai-erodes-a-legacy-of-reading
7•domhudson•1h ago•3 comments

The Permission Slip

https://www.cringely.com/2026/05/28/the-permission-slip/
1•B1FF_PSUVM•1h ago•0 comments

Iterating Faster with TypeScript 7

https://code.visualstudio.com/blogs/2026/06/26/iterating-faster-with-ts-7
4•soheilpro•1h ago•1 comments

Show HN: Boot a tiny app-making OS inside an AI chat

https://hollingsworthd.github.io/RAu/
1•logn•1h ago•0 comments

The Impacts of Unauthorized Immigration on U.S. Labor and Housing Markets

https://www.dallasfed.org/research/papers/2026/wp2607
1•nradov•1h ago•1 comments

Enterprise AI customers pulling back from OpenAI and Anthropic as costs mount

https://qz.com/enterprise-ai-spending-openai-anthropic-roi-pullback-062626
4•toomuchtodo•1h ago•5 comments

Compiler Education Deserves a Revolution

https://thunderseethe.dev/posts/compiler-education-deserves-a-revoluation/
3•azhenley•1h ago•0 comments

I Co-Founded Wikipedia. Now I'm Banned for Life

https://www.thefp.com/p/larry-sanger-wikipedia-co-founder-banned
10•bko•1h ago•4 comments

Show HN: Tested – AI Tools Scored by a Panel of LLMs (Claude, GPT, Gemini, Grok)

https://trytested.com
1•pro_methe5•1h ago•0 comments

What's the value of the Biblical half shekel?

https://www.chabad.org/library/article_cdo/aid/673063/jewish/Whats-the-value-of-the-biblical-half...
3•teleforce•1h ago•1 comments

Show HN: GetBlocked – a local-only Chrome extension for blocking web trackers

https://github.com/alex-w-developer/GetBlocked/
7•sudo_cowsay•2h ago•3 comments

Indus civilisation reveals its volumetric system

https://www.thehindu.com/news/national/Indus-civilisation-reveals-its-volumetric-system/article16...
1•teleforce•2h ago•0 comments