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

Physicist Rigged His Pet Hamster's Wheel to Strava. It Runs Far Every Night

https://www.runnersworld.com/news/a73355106/hamster-wheel-strava-running/
1•aanet•1m ago•1 comments

Balanced polymorphism underlies the rhythm of daily sex alternation in avocado

https://www.pnas.org/doi/10.1073/pnas.2606876123#executive-summary-abstract
1•impish9208•3m ago•0 comments

A Vision for Cargo

https://epage.github.io/blog/2026/08/cargo-vision/
1•shalupov•4m ago•0 comments

L.A. County Fire Department – Eaton Fire Investigation Report

https://www.documentcloud.org/documents/28535082-la-county-fire-department-eaton-fire-investigati...
1•hotchip•6m ago•0 comments

Slime Without Plugins Using Kitty

https://lee-phillips.org/kittyslime/
1•leephillips•10m ago•0 comments

A Gallery of Installing from .dmg

https://unsung.aresluna.org/as-a-windows-user-its-a-very-surreal-way-to-install-a-program/
2•colinprince•12m ago•0 comments

Alexa+ Is a Buggy Embarrassment

https://pogueman.substack.com/p/alexa-is-a-buggy-embarrassment
1•colinprince•13m ago•0 comments

At-Communities #1: The Concierge, the Vault, and the Fuck-Ass Astro Website

https://www.essentialrandomness.com/posts/the-concierge-and-the-vault
1•erlend_sh•15m ago•0 comments

The Title Cards in Blade Runner Are Fucking Amazing

https://randsinrepose.com/archives/blade-runner-title-cards/
3•ExMachina73•17m ago•1 comments

Water to Go – Rewrite Any Project to Go with Any AI Coder

https://github.com/JohnVictorCrown/WaterToGo
1•john_victor•18m ago•2 comments

Show HN: A self-improvement feedback loop for AI agent skills

https://github.com/Carlo1911/skill-evolution
2•Carlo1911•18m ago•0 comments

The Price of Love Is Measured in Tokens

https://kintsugikitten89.substack.com/p/the-price-of-love-is-measured-in
1•toilet•19m ago•1 comments

Nvidia's Vera Whitepaper Has a Thread Loose

https://chipsandcheese.com/p/nvidias-vera-whitepaper-has-a-thread
9•pella•21m ago•0 comments

Sovumi – a crowd-prediction game that needs honest answers before it works

https://play.sovumi.com/volunteer
1•techartdev•22m ago•0 comments

Gravitre, an MCP server with memory that tells you what it didn't do

https://gravitre.app/
1•cesarbohorquezj•29m ago•0 comments

Nikita Bier Steps Down as Head of Product at X

https://twitter.com/nikitabier/status/2085105586966827343/
12•DearAll•30m ago•2 comments

Anyone who installed ecto 5.0.1 should consider that environment compromised

https://github.com/jaredwray/ecto/issues/391
3•trelane•32m ago•2 comments

Robotaxis granted licence to operate in London

https://www.bbc.co.uk/news/articles/c3w07qg43j6o
2•edward•33m ago•0 comments

Prime Agent: A self-improving RLM agent

https://www.primeintellect.ai/blog/prime-agent
11•Xeophon•34m ago•0 comments

'All hands on deck': Oil industry rallies to keep Trump from stopping export

https://www.politico.com/news/2026/08/05/oil-industry-prevent-trump-stopping-exports-01025641
4•mapping365•34m ago•5 comments

AI models breaking contraints has industry concerned

https://www.rnz.co.nz/news/world/901880/ai-models-breaking-contraints-has-industry-concerned-hele...
4•billybuckwheat•37m ago•0 comments

A Fed official is asking whether AI is becoming 'too big to fail'

https://thenextweb.com/news/a-fed-official-is-asking-whether-ai-is-becoming-too-big-to-fail
3•cdrnsf•38m ago•0 comments

Turn a protein PDB structure into a 3D print

https://pdb2print.org/
1•mihaitodor•38m ago•0 comments

Virus reactivation in acute and long Covid-19

https://www.nature.com/articles/s41586-026-10740-z
1•sbulaev•39m ago•0 comments

'She was almost a Batman figure': Mexico's avenging Mother Courage

https://www.theguardian.com/news/ng-interactive/2026/jul/21/she-was-almost-a-batman-figure-mexico...
1•gmays•39m ago•0 comments

We're debating the next feature for StateGuard. Would you trust this?

https://www.indiehackers.com/post/were-debating-the-next-feature-for-stateguard-would-you-trust-t...
1•doodlebyte•41m ago•0 comments

These Employees Like Their A.I. Boss. Its Shop Is Kind of a Disaster

https://www.nytimes.com/2026/08/04/us/ai-boss-san-francisco-andon-market.html
2•paulpauper•41m ago•0 comments

The A.I. Giants Weren't Prepared for This

https://www.nytimes.com/2026/08/04/opinion/ezra-klein-podcast-jasmine-sun.html
2•paulpauper•41m ago•0 comments

OpenAI says my prepaid credits were consumed, refuses to show any record

https://community.openai.com/t/how-openai-lost-a-paying-customer-over-160-it-refuses-to-explain/1...
8•ppavlyuk•42m ago•1 comments

Lemmings (Video Game)

https://en.wikipedia.org/wiki/Lemmings_(video_game)
2•soupspaces•42m ago•0 comments