frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Extract text and translate on every PR

1•danielandrews43•10mo 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•10mo 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•10mo 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

Unusual Behavior in Geosynchronous Orbit by Chinese Satellites, 2016–2025

https://www.csis.org/analysis/new-rhythms-geo-quantitative-analysis-unusual-behavior-geosynchrono...
1•mooreds•16s ago•0 comments

Tokyo: The Hard Life (1989)

https://www.theatlantic.com/magazine/archive/1989/03/tokyo-the-hard-life/668051/
1•mooreds•1m ago•1 comments

Should you be scared of bears when hiking in Japan?

https://www.emgoto.com/hiking-bears-japan/
1•mooreds•1m ago•0 comments

An Interview with Asana Founder Dustin Moskovitz about AI, SaaS, and Safety

https://stratechery.com/2025/an-interview-with-asana-founder-dustin-moskovitz-about-ai-saas-and-s...
1•theorchid•3m ago•0 comments

Google Stitch

https://stitch.withgoogle.com/
1•thatxliner•3m ago•0 comments

Scaling a Monolith to 1M LOC: 113 Pragmatic Lessons from Tech Lead to CTO

https://www.semicolonandsons.com/articles/scaling-a-monolith-to-1m-loc-113-pragmatic-lessons-from...
1•PaulHoule•7m ago•0 comments

Amazon vs. Perplexity AI: ACLU's Amicus Brief

https://www.aclu.org/cases/amazon-v-perplexity?document=Amicus-Brief-of-ACLU-ACLU-of-Northern-Cal...
1•StatsAreFun•8m ago•0 comments

Beside Myself at BSides OK

https://mpdc.dev/beside-myself-at-bsides-ok/
1•ParanoidRV•13m ago•1 comments

Günther Anders's Bleak Picture of the Tech-Perfected Society

https://www.thepublicdiscourse.com/2026/03/100527/
1•StatsAreFun•15m ago•0 comments

Specs over Vibes: Consistent AI Results Ft. Mark Freeman

https://motherduck.com/blog/specs-over-vibes-consistent-ai-results/
1•eigenBasis•20m ago•0 comments

KldloadOS 1.0.4 – Kubernetes on (ZFS and Cilium eBPF and WireGuard) in 15 Mins

https://kldload.com/releases/1.0.4
2•kldload•21m ago•0 comments

Most AI travel apps don't help you travel

https://navoy.io/
1•tnaaron•22m ago•0 comments

I don't want to fill out your contact form (2024)

https://adamjones.me/blog/dont-use-contact-forms/
1•JustSkyfall•28m ago•1 comments

Open Source MCP server that refines prompts from retrieval evidence

https://github.com/farukalpay/prompt-refinery
4•Zelray0•33m ago•0 comments

GitHub Copilot Session Search and Resume CLI

https://jonmagic.com/posts/github-copilot-session-search-and-resume-cli/
1•willf•35m ago•0 comments

B-trees and database indexes (2024)

https://planetscale.com/blog/btrees-and-database-indexes
1•cebert•38m ago•0 comments

DNA forensics is transforming studies of ancient manuscripts

https://www.scientificamerican.com/article/how-dna-forensics-is-transforming-studies-of-ancient-m...
1•1659447091•39m ago•0 comments

'"one" | "two" | string' autocomplete TypeScript trick

https://jcbhmr.com/2026/04/07/any-string-autocomplete-ts/
2•jcbhmr•42m ago•0 comments

Ongoing system issues w/ state distributor has Mississippi running out of liquor

https://www.washingtonpost.com/nation/2026/04/12/mississippi-liquor-sales-breakdown/
1•WarOnPrivacy•47m ago•1 comments

AI Integration Pack: 9 Production Python Modules for Payments, CRM, SMS

https://etilabs.gumroad.com/l/gseyqv
1•DruEdwards•48m ago•0 comments

Surely there must be a way to make container secrets less dangerous?

https://dalmatian.life/2026/04/11/surely-there-must-be-a-way-to-make-container-secrets-less-dange...
1•birdculture•58m ago•0 comments

You can have an RSS dependent website in 2026

https://matduggan.com/you-can-absolutely-have-an-rss-dependent-website-in-2026/
1•OberstKrueger•59m ago•1 comments

The AI Industry's Most Expensive Mistake

https://www.thealgorithmicbridge.com/p/inside-the-ai-industrys-most-expensive
1•gmays•1h ago•0 comments

A Macroeconomic Perspective on Stock Market Valuation Ratios

https://researchdatabase.minneapolisfed.org/concern/publications/5x21tf60n
1•mooreds•1h ago•0 comments

2026 Is the New 2016

https://en.wikipedia.org/wiki/2026_is_the_new_2016
3•CHB0403085482•1h ago•0 comments

Why Trump Mishandled Iran

https://foreignpolicy.com/2026/04/08/iran-war-ceasefire-trump-united-states-israel/
4•mooreds•1h ago•1 comments

Any USB drive or cable you plug in might be a silent killer

https://www.askwoody.com/newsletter/free-edition-any-usb-drive-or-cable-you-plug-in-might-be-a-si...
4•devonnull•1h ago•0 comments

Made an eBPF syscall tracer with a live TUI

https://github.com/pandaadir05/snoop
1•pigeon1231•1h ago•1 comments

Old, Discontinued Fiats Are Outselling New Fiats

https://www.jalopnik.com/2144450/old-discontinued-fiat-500x-outselling-new-500e/
2•mooreds•1h ago•1 comments

I solved NP‑complete problems by turning them into planets

https://github.com/TheAnalyticalAbsurdist/vedic-planetary-transformers
1•AbsurdityBureau•1h ago•0 comments