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

India's Assam faces worst floods in years

https://www.bbc.com/news/articles/cqlx61p3wz0o
1•saikatsg•1m ago•0 comments

Terminal Themes, and the Rabbit Hole That Produced Them

https://williamzujkowski.github.io/posts/2026-07-19-oklch-terminal-themes/
1•speckx•1m ago•0 comments

How did The Shawshank Redemption become the highest rated #1 movie on IMDB?

https://old.reddit.com/r/NoStupidQuestions/comments/1v8pm2x/comment/p07p4ri/
3•thunderbong•1m ago•0 comments

An open source library for rendering and editing slides in chat apps

https://www.blockslides.com/
2•Mojmalik•1m ago•0 comments

ClickCannon: Building a Tool for Benchmarking ClickHouse

https://clickhouse.com/blog/building-clickcannon-a-tool-for-benchmark-clickhouse
2•mikeshi42•3m ago•0 comments

Discovering Cryptographic Weaknesses with Claude

https://www.anthropic.com/research/discovering-cryptographic-weaknesses
3•gslin•3m ago•0 comments

I Built a Calendar App Kids Control – Even Parents Can't Access It

https://github.com/mihirshaikbugs/kid-compass
2•mihirshaik•4m ago•0 comments

Ads in Software Are Like Stickers on Laptops

https://daringfireball.net/2026/07/ads_in_software_are_like_stickers_on_laptops
1•Brajeshwar•4m ago•0 comments

CryptanalysisBench: Can LLMs Do Cryptanalysis?

https://arxiv.org/abs/2607.18538
2•rvz•6m ago•0 comments

Designing With AI on a budget as an engineer: Google+ChatGPT

https://www.kcoleman.me/2026/06/11/designing-with-ai-indie.html
2•speckx•7m ago•0 comments

Wikimedia Foundation declines to voluntarily recognise the union

https://wikimediafoundation.org/news/2026/07/27/statement-cwa-recognition-request/
2•ravenical•8m ago•0 comments

Anthropic A.I. Model Finds Flaws in Tough-to-Crack Encryption Algorithms

https://www.nytimes.com/2026/07/28/us/politics/anthropic-ai-encryption-security-aes.html
3•edsimpson•9m ago•0 comments

Children, sponsors arrested by ICE after tips from US child migrant

https://www.reuters.com/legal/government/thousands-children-sponsors-arrested-by-ice-after-tips-u...
3•tartoran•11m ago•1 comments

Scientific computing in the age of agentic AI

https://openai.com/index/scientific-computing-agentic-ai/
4•mfiguiere•12m ago•0 comments

Steel Bank Common Lisp version 2.6.7

https://sbcl.org/all-news.html?2.6.7
3•tmtvl•13m ago•0 comments

I Tried Coding My Own Graphics Library

https://www.youtube.com/watch?v=_JGMgpyCTsY
2•linggen•15m ago•0 comments

Setup a Simple, Self-Hosted Web Server with OpenBSD

https://btxx.org/posts/self-hosted-openbsd/
3•linggen•15m ago•0 comments

A personalized scam [AI-enabled] is coming for you

https://www.washingtonpost.com/opinions/2026/07/28/ai-is-gaining-ability-personalize-cyberattacks...
2•Calvin02•16m ago•1 comments

Magnolia Search

https://marginalia-search.com/
2•axiomdata316•16m ago•0 comments

Lessons in Networking from Fighting Games [video]

https://www.youtube.com/watch?v=7jb0FOcImdg
1•buildwrangler•17m ago•0 comments

Giant Concentric Rings Discovered in the Atmosphere of Venus

https://www.sciencealert.com/giant-concentric-rings-discovered-in-the-atmosphere-of-venus
3•geox•18m ago•0 comments

Protesting Flock, Arizona Man Presents Plan to Surveil Government Officials

https://www.404media.co/casa-grande-arizona-flock-city-council/
3•pavel_lishin•19m ago•1 comments

WOFF 1.0: a milestone on W3C's journey of fonts on the web

https://www.w3.org/blog/2026/woff-1-0-a-milestone-on-w3cs-journey-of-fonts-on-the-web/
2•hn_acker•20m ago•0 comments

Coding Tools MCP (v0.2.2):Give any AI chat or agent a pair of hands on your code

https://github.com/xyTom/coding-tools-mcp
2•xytom•21m ago•0 comments

I vibe-coded a travel app in a weekend, security scan found 8 critical flaws

https://github.com/KrazyKulsum/trip-together-planner-21/tree/main
3•kulsumshannan•21m ago•0 comments

Stuck agents: coverage, capacity, or me

https://saheb.github.io/blog/posts/stuck-agents-coverage-capacity-or-me/
1•saheb37•23m ago•0 comments

The Download: OpenAI's predictable hack, and an AI stock sell-off

https://www.technologyreview.com/2026/07/28/1140868/the-download-openai-hack-ai-stock-sell-off/
1•joozio•23m ago•0 comments

Bots Took over Our Lives

https://www.newyorker.com/culture/the-lede/how-bots-took-over-our-lives
1•Brajeshwar•24m ago•0 comments

I Learned Floot and Perfai Security over One Weekend and Built a Real Estate App

https://github.com/wahidmmadiha/Homescope/tree/main
2•madihamwahid•24m ago•0 comments

Plan your running and lifting training weeks in seconds

https://polyvalent.fit/
1•luckylokman•25m ago•1 comments