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

Keeping HTTPS Connections Safe in Chrome

https://blog.google/security/keeping-https-connections-safe-in-chrome/
1•arwt•27s ago•0 comments

How to Stop Generic Type Explosion in Rust

https://edvong.com/stop-generic-type-explosion/
1•ohmycobol•32s ago•0 comments

The Profound Benefits of Disrupting Your Circadian Rhythm

https://thoughtcurrents.substack.com/p/the-profound-benefits-of-disrupting
1•ohohoho•2m ago•0 comments

With a Counterexample, Mathematicians Show That It's an Unfair World

https://www.quantamagazine.org/
1•Kushvinthe•6m ago•0 comments

MFK Fisher's clandestine campaign to spread Japanese cuisine

https://longreads.com/2026/11/24/mfk-fisher-influencer-japanese-food-america/
1•mooreds•8m ago•0 comments

Former NASA contractor pleads guilty to stealing wheel from moon rover

https://www.cnn.com/2026/12/03/politics/man-pleads-guilty-stealing-wheel-from-moon-rover-viper-nasa
1•mooreds•9m ago•0 comments

This bookseller's loyalties lie with the written word

https://www.cpr.org/2026/12/02/rare-books-feeding-artificial-inteilligence/
2•mooreds•14m ago•0 comments

Amazon tightens safety rules after AI toys teach kids about knives and sex

https://arstechnica.com/ai/2026/12/amazon-tightens-safety-rules-after-ai-toys-teach-kids-about-kn...
2•tech-historian•15m ago•0 comments

Scio – a knowledge library built by AI agents

https://scio.md/
1•lifthrasiir•16m ago•1 comments

Canada may use cyber 'offensive capabilities' after hit to military system

https://www.cbc.ca/news/politics/ai-hack-government-websites-defence-export-control-system-9.7447074
3•geox•22m ago•0 comments

US strategic petroleum reserve is now the lowest in its history

https://twitter.com/RBAdvisors/status/2128509563049582846
3•toomuchtodo•23m ago•1 comments

Woolworths Data Breach (Australia)

https://www.abc.net.au/news/2026-12-04/woolworths-database-hacked-cyber-criminals/107463078
4•MarkBlah•26m ago•2 comments

Elegance and Intelligence Are Anticorrelated

https://www.seangoedecke.com/elegance-and-intelligence-are-anticorrelated/
4•prakashqwerty•29m ago•0 comments

Tell HN: HN search (Algolia) supports exact match using straight quotes only

3•Barbing•31m ago•1 comments

Bumbition

https://www.noahpinion.blog/p/bumbition
2•gmays•35m ago•0 comments

The Riemann Hypothesis for Humans

https://arxiv.org/abs/2612.03144
3•Brajeshwar•38m ago•0 comments

An interactive reading of the leaked Windows XP source code

https://lr0.org/blog/p/winxp/
2•Brajeshwar•38m ago•0 comments

World's largest wildlife crossing opens in Los Angeles

https://www.theguardian.com/us-news/2026/dec/02/los-angeles-bridge-wildlife-crossing
3•blinding-streak•38m ago•0 comments

Interpretability Team Priorities Update

https://transformer-circuits.pub/2026/priorities-update/index.html
1•allenleee•45m ago•0 comments

Germany in ruins: Remaking an 80-year-old map

https://www.datawrapper.de/blog/pie-map-remake-wwii
2•JulieZhao00•47m ago•2 comments

Plain Text Accounting

https://plaintextaccounting.org/
2•saikatsg•48m ago•0 comments

Silicon Valley, is this your king?

https://www.theverge.com/ai-artificial-intelligence/1050049/jensen-huang-disastrous-performance-c...
13•aanet•50m ago•1 comments

Harness Tricks for Coding Agents on Local Models with Small Context Windows

https://blog.wiseprobe.io/posts/harness-tricks-small-context-local-models/
1•wiseprobe•51m ago•1 comments

A solution to AlphaGenome 2's indel offset: ranking SNVs and indels together

https://aleksandarstalevski.github.io/alphagenome2-indel-offset-solution/
2•rtmkrptn•52m ago•1 comments

Domino: A robot dog I designed and built from scratch

https://github.com/Blacksheep909/Domino-ESP32-Quadruped
3•Ericuka•56m ago•1 comments

I would have traded progress in math for cryptographically secure infrastructure

https://mathstodon.xyz/@tao/117722803711982471
3•espeed•57m ago•0 comments

Memtest86 v9.10 adds NUMA support for multi-socket servers

https://github.com/memtest86plus/memtest86plus/releases/tag/v9.10
31•FiderHi•1h ago•0 comments

Claude Max vs. Amazon Ergo pricing: when cheaper AI costs more

https://properpath.ai/resources/claude-max-vs-amazon-ergo-pricing
1•LucastheDev•1h ago•0 comments

Alpine 3.25.0 Released

https://alpinelinux.org/posts/alpine-3.25.0-released/
1•Cilan798•1h ago•0 comments

GTA VI PC port efforts are hitting a wall: Claude token costs

https://www.techspot.com/news/114815-gta-vi-pc-port-efforts-hitting-wall-claude.html
3•sph•1h ago•1 comments