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

AI Will Test Governments on Jobs, Training, and Public Trust

https://www.hoover.org/news/ai-will-test-governments-jobs-training-and-public-trust-hoover-panels...
1•hhs•12s ago•0 comments

Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders

https://www.washingtonpost.com/technology/2026/04/11/anthropic-christians-claude-morals/
1•edwardsrobbie•1m ago•0 comments

How to Switch AI Chatbots and Why You Might Want To

https://www.wsj.com/tech/ai/how-to-switch-ai-chatbots-and-why-you-might-want-to-8aaccfd4
1•nanfinitum•3m ago•1 comments

How to break America's great scientific stagnation

https://www.city-journal.org/article/trump-national-science-foundation-nominee-jim-oneill
1•hhs•3m ago•0 comments

Telegram as an Agent Control Plane

https://vita-reports.ham.xyz/s/6020b089f389
1•zackham•5m ago•0 comments

Trump wants to cover a White House office building with 'magic paint.'

https://www.cnn.com/2026/04/11/politics/eisenhower-executive-office-building-paint-trump
1•Cider9986•6m ago•0 comments

What Is in Road Flares?

https://www.spiegl.org/rocket/flare/flare.html
1•hyperific•7m ago•0 comments

Tinker: Play with AI, bring your ideas to life

https://www.shopify.com/news/introducing-tinker
2•myth_drannon•11m ago•0 comments

Sent ChatGPT audio file of FART sound effects, asked what it thinks of my music

https://twitter.com/i/status/2042445078417834043
2•lando2319•13m ago•0 comments

Never been sick with the flu? Now scientists may know why

https://www.npr.org/2026/04/03/nx-s1-5763891/flu-resistance-peptide-sick-antiviral
1•gmays•16m ago•0 comments

Bessent Urgently Summons Bank CEOs over Anthropic's New AI

https://www.youtube.com/watch?v=B2WsfcwfEgs
2•OhMeadhbh•20m ago•1 comments

AI for Systems: Using LLMs to Optimize Database Query Execution

https://www.together.ai/blog/using-llms-to-optimize-database-query-execution
1•matt_d•21m ago•0 comments

Side projects: perché falliscono (e come evitarlo davvero)

https://donatodelpeschio.it/blog/side-projects-perche-falliscono-come-evitarlo
1•donnyBlanko•25m ago•0 comments

Cyber 2028

https://www.analogue.computer/blog/cyber-2028
3•zeyu1337•34m ago•1 comments

It Has Always Been About Data, All the Way Down

https://khayyamguliyev.substack.com/p/it-has-always-been-about-data-all
3•khguliye•35m ago•0 comments

The Closing of the Frontier

https://tanyaverma.sh/2026/04/10/closing-of-the-frontier.html
4•FrasiertheLion•39m ago•0 comments

Show HN: 2048 with a Leaderboard

https://www.the2048league.com/
2•khet•40m ago•0 comments

Deep Work on macOS Starts with Context, Not Blockers

https://www.brnsft.com/blog/how-to-set-up-a-deep-work-system-on-mac-from-scratch
3•robertohanas•44m ago•0 comments

How Transistors Work (1995)

http://amasci.com/amateur/transis.html
2•downbad_•48m ago•1 comments

Bringing Rust to the Pixel Baseband

https://security.googleblog.com/2026/04/bringing-rust-to-pixel-baseband.html
2•dochtman•49m ago•0 comments

The Making of Dark Castle

https://www.gamedeveloper.com/business/the-making-of-i-dark-castle-i-an-excerpt-from-the-secret-h...
2•AntiRush•51m ago•0 comments

Strategy Letter V (2002)

https://www.joelonsoftware.com/2002/06/12/strategy-letter-v/
2•crescit_eundo•55m ago•0 comments

A Fake Screen Fixed My macOS Space Switcher

https://jorviksoftware.cc/notes/2026/04/11/when-the-stars-align-redux
2•jonathan_hollin•55m ago•0 comments

The Brutal Reality of Today's Job Market 2026

https://maxjobintel.online/
3•videobroker•57m ago•0 comments

Ukraine and Weapons of Mass Destruction

https://en.wikipedia.org/wiki/Ukraine_and_weapons_of_mass_destruction
5•chistev•1h ago•1 comments

Jet Fuel Crunch Is Getting Severe with No Reprieve in Sight for Airlines

https://www.wsj.com/business/airlines/jet-fuel-crunch-is-getting-severe-with-no-reprieve-in-sight...
5•bookofjoe•1h ago•1 comments

After Me(One encrypted vault. One QR code. Your family gets everything)

https://www.myafterme.co.uk/
2•elufadeju•1h ago•0 comments

I Pick My Stack for Vibe Coding

https://tildehacker.com/how-i-pick-my-stack-for-vibe-coding
2•tildehacker•1h ago•0 comments

Show HN: Git why – log your agent reasoning trace along your code

https://hexapode.github.io/git-why/
4•pierre•1h ago•0 comments

AGI Is the Wrong Word

https://breaking-changes.blog/agi-is-here-part-2/
3•oakhan3•1h ago•2 comments