frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Extract text and translate on every PR

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

White House Opposes Anthropic's Plan to Expand Access to Mythos Model

https://www.wsj.com/tech/ai/white-house-opposes-anthropics-plan-to-expand-access-to-mythos-model-...
1•JumpCrisscross•47s ago•0 comments

Schooling Has a Meaning Crisis. Paradoxically, AI Can Help

https://blog.comini.in/p/schooling-has-a-meaning-crisis-paradoxically
1•ChaitanyaSai•2m ago•0 comments

Met Police's Palantir deployment has its own officers watching their backs

https://www.theregister.com/2026/04/30/met_police_palantir_deployment_cop_probe/
2•jjgreen•3m ago•0 comments

Scale invariance and the beauty of computer simulations [video]

https://www.youtube.com/watch?v=fIWleJeep0U
1•demute•4m ago•0 comments

Copy-fail-destroyer: K8s remediation for CVE-2026-31431

https://github.com/NorskHelsenett/copy-fail-destroyer
1•evenh•5m ago•0 comments

J. Craig Venter, Scientist Who Decoded the Human Genome, Dies at 79

https://www.nytimes.com/2026/04/30/science/j-craig-venter-dead.html
2•Anon84•7m ago•0 comments

Approaching Zero Bugs?

https://daniel.haxx.se/blog/2026/04/30/approaching-zero-bugs/
1•sohkamyung•9m ago•0 comments

Amazon Q1 revenue tops estimates as AWS hits 15-quarter growth high

https://finance.yahoo.com/sectors/technology/article/amazon-q1-revenue-tops-estimates-as-aws-hits...
3•01-_-•10m ago•0 comments

Reddit Is the Most Dangerous Social Media Platform for Human Creativity-Opinion

https://mirz.ai/post/reddit-is-the-most-dangerous-social-media-platform-for-human-creativity-opinion
1•zahirbmirza•11m ago•0 comments

GM Adds Google Gemini for Drivers to Rev Up with AI Assistant

https://www.cnet.com/tech/services-and-software/gm-brings-google-gemini-to-millions-of-vehicles-o...
1•01-_-•12m ago•0 comments

Estimating Black-Box LLM Parameter Counts via Factual Capacity

https://arxiv.org/abs/2604.24827
1•RockstarSprain•17m ago•0 comments

Paperclip Maximizer Bench

https://d.erenrich.net/paperclip-bench/index.html
1•themaxdavitt•23m ago•0 comments

Table Oriented Programming (2002)

https://www.oocities.org/tablizer/top.htm
1•downbad_•23m ago•1 comments

The Agentic Software Development Life Cycle Framework

https://asdlc.io/
1•futurecat•24m ago•0 comments

Remembering the Computer Literacy Project (1992) [video]

https://www.youtube.com/watch?v=JZjNHnYFqOA
3•peterkelly•25m ago•1 comments

Show HN: Bin collection calendars for the entire UK

https://ukbinday.co.uk/
2•chartreuseai•26m ago•0 comments

I Built SpecDD Because AI Kept Forgetting What We Were Building

https://specdd.ai/articles/i-built-specdd-because-ai-kept-forgetting-what-we-were-building/
2•addvilz•27m ago•0 comments

Looking for testers (free 30-day trial intelligence tool) Code: FOUNDER30

https://www.electalabs.com/trial
1•themvptester•28m ago•1 comments

NumPy vs. APL [video]

https://www.youtube.com/watch?v=ZB0IJMRpbRE
1•tosh•28m ago•0 comments

WordPress plugin hijacked in 2020 hid a dormant backdoor for years

https://anchor.host/wordpress-plugin-hijacked-in-2020-hid-a-dormant-backdoor-for-years/
1•austinginder•31m ago•0 comments

Iran defies Trump's blockade as oil prices soar

https://www.france24.com/en/live-news/20260430-iran-defies-trump-s-blockade-as-oil-prices-soar
2•geox•32m ago•0 comments

SCOTUS: Voters Can Be Disenfranchised Now

https://www.theatlantic.com/ideas/2026/04/vra-supreme-court-callais-decision/686997/
1•Arodex•32m ago•0 comments

GitHub Copilot silently inserts itself as a co-author

https://github.com/orgs/community/discussions/194075
4•tjek•33m ago•0 comments

Some schools consider eliminating homework

https://www.npr.org/2026/04/28/nx-s1-5795647/should-schools-get-rid-of-homework
2•isaacfrond•34m ago•0 comments

Show HN: Multiplayer Voronoi

https://voronoi.charlespierre.fr/
1•cpa•34m ago•0 comments

Show HN: Brifly – stop re-explaining your codebase to Claude Code every week

https://www.getbrifly.com/
1•dbarabashdev•35m ago•0 comments

C++26: String and String_view Improvements

https://www.sandordargo.com/blog/2026/04/29/cpp26-string-string_view-improvements
1•jandeboevrie•35m ago•0 comments

Fake PoC, Real Backdoor: How a Typosquatted Repo Weaponized CVE-2026-31431

https://ip-ninja.com/blog/typosquatted-cve-2026-31431-fake-exploit
1•d4n3ws•36m ago•0 comments

Show HN: Token Thermodynamics

https://mybinder.org/v2/gist/gpavanb1/30a27c0592dbb23311f165dae4549309/HEAD?urlpath=voila%2Frende...
1•gpavanb•39m ago•0 comments

Chrome looks set to ship an LLM Prompt API to the web. We oppose this API

https://mastodon.social/@firefoxwebdevs/116492853483021978
3•Vinnl•39m ago•0 comments