frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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

Running PyTorch Models on Apple Silicon GPUs with the ExecuTorch MLX Delegate

https://pytorch.org/blog/running-pytorch-models-on-apple-silicon-gpus-with-the-executorch-mlx-del...
1•tosh•2m ago•0 comments

Gemini Omni and the Cognitive Question We Aren't Ready For

https://old.reddit.com/r/AICognitiveWatch/
1•GlyphWeaver_a•6m ago•0 comments

Everything in C is undefined behavior

https://blog.habets.se/2026/05/Everything-in-C-is-undefined-behavior.html
2•lycopodiopsida•10m ago•0 comments

Content Credentials

https://en.wikipedia.org/wiki/Content_Credentials
2•svara•10m ago•0 comments

Ex-Apple engineer says Apple deliberately slows older phones via updates

https://www.macobserver.com/news/ex-apple-software-engineer-claims-apple-deliberately-slows-down-...
4•neya•22m ago•0 comments

Most Theoretical Physicists Are Doing Engineering

https://danieltan.weblog.lol/2026/05/most-theoretical-physicists-are-doing-engineering
2•danieltanfh95•26m ago•0 comments

Extended Cyber Kill Chain for AI-Era Threats

https://github.com/gouravnagar-infosec/ai-kill-chain
1•gnz1•28m ago•0 comments

Missing RAF pilot found strapped in his sunken Hurricane laid to rest

https://www.thetimes.com/uk/history/article/missing-raf-pilot-george-morley-fidler-hurricane-fran...
3•petethomas•29m ago•0 comments

Playing Wireless Audio on OpenBSD

https://xosc.org/bluetooth.html
2•JdeBP•29m ago•0 comments

Zig by Example

https://github.com/boringcollege/zig-by-example
3•dariubs•32m ago•0 comments

OpenAI for Singapore

https://openai.com/index/introducing-openai-for-singapore/
2•vinhnx•33m ago•0 comments

Infomaniak transitions to a foundation model to protect user data privacy

https://news.infomaniak.com/en/infomaniak-foundation-sovereign-cloud/
3•darktoto•34m ago•0 comments

International Orange

https://en.wikipedia.org/wiki/International_orange
2•MrJagil•35m ago•0 comments

UK Supermarkets may be asked to freeze prices of milk, eggs and bread

https://www.thetimes.com/uk/politics/article/supermarkets-freeze-prices-iran-war-0b8tlmh8c
1•petethomas•37m ago•0 comments

Graded Modal Types for Memory and Communication Safety

https://kar.kent.ac.uk/113723/
1•matt_d•40m ago•0 comments

Google's AI future demands trust and your personal data

https://www.theverge.com/tech/934172/google-io-gemini-ai-trust-personal-data
1•1vuio0pswjnm7•40m ago•1 comments

Califraudnation: CA civil rights agency closed my case to cover their mistakes

https://mattordeshook.substack.com/p/part-4-garden-gate-the-scandal
1•creativejustice•40m ago•0 comments

Net-Zero Infrastructure: Implementing Solar-Scheduled Tunnel Egress

https://claude.ai/public/artifacts/175eb839-aa6a-4ad6-9d61-c7eed27540b8
1•insta_tunnel•42m ago•0 comments

WorldParticle: Unified World Simulation of Lagrangian Particles via Transformer

https://arxiv.org/abs/2605.15305
1•vismit2000•43m ago•0 comments

RigidFormer: Learning Rigid Dynamics Using Transformers

https://arxiv.org/abs/2605.09196
1•vismit2000•44m ago•0 comments

There's No Earthly Way of Knowing Which Direction We Are Going

https://kottke.org/26/05/theres-no-earthly-way-of-knowing-which-direction-we-are-going
2•tobr•44m ago•0 comments

Downtown San Mateo Is a Monument to Insider Self-Dealing

https://maxmautner.com/2026/05/18/downtown-san-mateo-monument-insider-self-dealing.html
1•mslate•51m ago•0 comments

Using Claude Code: The unreasonable effectiveness of HTML

https://claude.com/blog/using-claude-code-the-unreasonable-effectiveness-of-html
4•choam•51m ago•2 comments

A prize-winning story published in Granta was (likely) written by AI

https://lithub.com/a-prize-winning-story-published-in-granta-was-very-likely-written-by-ai/
2•KnuthIsGod•56m ago•1 comments

Freezing Your Cake

https://taylor.town/20260518
2•Curiositry•58m ago•0 comments

ChatGPT-generated story won a prestigious literary prize

https://www.wired.com/story/commonwealth-short-story-prize-ai-allegations/
3•KnuthIsGod•1h ago•0 comments

Xezim – a Rust-based SystemVerilog simulator

https://github.com/aionhw/xezim
1•bondanr•1h ago•0 comments

We Got a CISA GitHub Leak Taken Down in Under a Day

https://blog.gitguardian.com/how-we-got-a-cisa-github-leak-taken-down-in-26-hours/
1•saikatsg•1h ago•0 comments

Istio 1.30.0 (Including Agentgateway)

https://istio.io/latest/news/releases/1.30.x/announcing-1.30/
1•qmarchi•1h ago•1 comments

India's hottest district shuts at 10 am as mercury breaches 48 C mark

https://www.hindustantimes.com/india-news/indias-hottest-district-banda-shuts-at-10-am-as-mercury...
39•rustoo•1h ago•18 comments