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

Fast and Hard Code

https://lucumr.pocoo.org/2026/8/22/fast-hard-code/
1•lumpa•3m ago•0 comments

Icarus in the Faculty Lounge

https://www.theatlantic.com/books/2026/08/jason-arday-cambridge-academic-memoir-resignation/688206/
2•bushwart•4m ago•1 comments

Starlark in Rust

https://github.com/facebook/starlark-rust
1•andrewstetsenko•5m ago•0 comments

Slop Debt

https://arpitbhayani.me/blogs/slop-debt/
4•valyala•9m ago•0 comments

Restoring a single table from an Amazon RDS backup (2016)

https://www.mooreds.com/wordpress/archives/2295
1•mooreds•11m ago•0 comments

When Code Becomes Cheap, Judgment Becomes the Craft

https://bharatsharma.pro/articles/when-code-becomes-cheap-judgment-becomes-the-craft
2•mooreds•11m ago•1 comments

I Miss Teaching

https://chriswiegman.com/2026/08/i-miss-teaching/
1•mooreds•12m ago•0 comments

Dallas residents express relief after fire destroys longtime 'eyesore' house

https://www.wfaa.com/video/news/local/dallas-county/dallas-residents-express-relief-after-fire-de...
1•madihaa•15m ago•0 comments

CXMT planned to use stolen Samsung IP to develop its DRAM, court hears

https://www.tomshardware.com/pc-components/dram/cxmt-planned-to-use-stolen-samsung-ip-to-develop-...
1•malshe•17m ago•0 comments

Domain Driven AI

https://pedromadruga.com/blog/domain-driven-ai/
1•iforgotemailpwd•17m ago•0 comments

Dismantling the Roadless Rule threatens to disrupt wildlife and water in US

https://theconversation.com/paving-paradise-dismantling-the-roadless-rule-threatens-to-disrupt-wi...
1•madihaa•18m ago•0 comments

Lego Color Wheels (and Why I Built a Grid Instead) [video]

https://www.youtube.com/watch?v=7BXFFT0aPpE
1•skibz•19m ago•0 comments

Claude Code status line for worktree, branch, context and quota

https://github.com/arturlimaaa/terminito
1•arturlima•19m ago•1 comments

Dataguessr – A playful way to update your knowledge of the world

https://dataguessr.com/
1•karakoram•20m ago•0 comments

QEMU, now with almost full NeXT Black/M68K hardware support

https://github.com/blanham/qemu-NeXT
1•wmlive•21m ago•0 comments

A Key Meat Protein Has Been Grown in Lettuce for the First Time

https://www.sciencealert.com/a-key-meat-protein-has-been-grown-in-lettuce-for-the-first-time
2•gmays•27m ago•0 comments

3D Walkable ASCII City in One HTML File [video]

https://www.youtube.com/watch?v=3YtygAx_C6A
1•COMMENT___•28m ago•0 comments

Retailers Want AI to Solve Online Shopping's Biggest Problem

https://www.bloomberg.com/news/articles/2026-08-21/zalando-zara-use-ai-virtual-try-ons-to-tackle-...
2•thm•32m ago•0 comments

A Hairy Situation

https://lostgirls.home.blog/2019/09/11/a-hairy-situation-the-peculiar-case-of-antonietta-gonzalez/
1•jruohonen•34m ago•0 comments

Budgeting resources in a Managed Postgres service

https://clickhouse.com/blog/protect-postgres-from-supporting-processes
1•saisrirampur•39m ago•0 comments

English ↔ Claudish Translator

https://programasweights.com/claudish
3•leumon•40m ago•0 comments

In-browser offline PDF tools

https://www.ihatepdf.cv/
2•porridgeraisin•46m ago•1 comments

Her Brain Was Broken. It Was Fixed with Sound–Not a Scalpel

https://www.wired.com/story/brain-focused-ultrasound/
3•nabbed•48m ago•0 comments

Linus Torvalds Endures a Debug Session from Hell, "Enormously Helped" by AI

https://www.phoronix.com/news/Linus-Torvalds-Debug-AI
6•meerita•48m ago•0 comments

Living at the Hinge of History

https://henryaj.substack.com/p/living-at-the-hinge-of-history
4•eatitraw•49m ago•0 comments

Crt.sh Seems Down

https://crt.sh/
3•gregsadetsky•50m ago•0 comments

HN: NIF – codec de imagem neural com benchmarks reproduzíveis vs. JPEG/WebP/AVIF

https://github.com/gabrielphilipus/NIF-Neural-Image-Format
1•gabrielphilipus•50m ago•0 comments

Show HN: ePub reader that lets your coding agent read along

https://github.com/baturyilmaz/readingisfun
1•arbayi•50m ago•0 comments

What broke when I stopped trusting my own validator

https://invoicehub.dev/blog/validation-harness-findings
1•dev_awesome•51m ago•0 comments

Manim: Framework for Creating Mathematical Animations

https://github.com/ManimCommunity/manim
2•pykello•51m ago•0 comments