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

Hayashi – Architecture Boundary Diagrams as Code

https://github.com/comradenala/hayashi
1•jdbohrman•28s ago•0 comments

Retrospective on Black and White and it's connection to Google DeepMind

https://www.eurogamer.net/black-and-white-lionhead-peter-moylneux-retrospective-google-deepmind-g...
1•MrDresden•4m ago•0 comments

Microsoft fixes VS Code after app gives Copilot credit for human's work

https://www.theregister.com/2026/05/04/microsoft_reverses_ai_credit_grab/
1•beardyw•4m ago•0 comments

A complete Llama2 inference engine that fits in 1356 bytes of x86 assembly

https://github.com/rdmsr/sectorllm
1•monax•5m ago•0 comments

Designing Microkernel IPC

https://seiya.me/blog/microkernel-ipc-design
1•mpweiher•5m ago•0 comments

A Brief History of Who Gets to Run Money

https://podium-finance.com/blog/a-brief-history-of-who-gets-to-run-money
1•nlpnerd•6m ago•0 comments

AI business and the issue of context drift

https://tensorpm.com
1•Neo552•8m ago•1 comments

AI is 'creating an enormous number of jobs'

https://techcrunch.com/2026/05/04/as-workers-worry-about-ai-nvidias-jensen-huang-says-ai-is-creat...
1•tijana3290•11m ago•0 comments

Claude Code: /effort is global across concurrent sessions instead of session

https://github.com/anthropics/claude-code/issues/49166
1•esher•15m ago•0 comments

The Laboratory and the Artist

https://clereviewofbooks.com/the-laboratory-and-the-artist/
1•Michelangelo11•17m ago•0 comments

InstaPurge – Rapid Mass Instagram DM Deletion Script

https://github.com/mahdixmohammad/instapurge
1•instagraham•17m ago•1 comments

The Paranal Solar Espresso Telescope, a New Tool for Finding Exoplanets

https://www.universetoday.com/articles/the-paranal-solar-espresso-telescope-a-new-tool-for-findin...
1•rbanffy•19m ago•0 comments

Suspected hantavirus outbreak traps 150 on ship off Cape Verde

https://www.reuters.com/business/healthcare-pharmaceuticals/who-says-risk-public-is-low-after-sus...
1•mgh2•19m ago•0 comments

Transgender Homicides in Britain, 2000-2025: Victims and Perpetrators

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6182901
2•fodmap•21m ago•0 comments

A minimal weather app that just shows your week

https://apps.apple.com/us/app/wthr/id6763099599
1•gokbek•21m ago•0 comments

Ace Template: create and deploy a Rails app in < 5 minutes (self-hosted or PaaS)

https://github.com/jeromedalbert/ace-template
1•jdalbert•24m ago•0 comments

Anonymous hacked Chinese satellite systems to protest against age check laws

https://old.reddit.com/r/privacy/comments/1t3vbyn/anonymous_hacked_chinese_satellite_systems_to/
1•mostcallmeyt•25m ago•0 comments

A Rust implementation of the Teal programming language compiler

https://github.com/rustq/tear
1•meloyc•28m ago•0 comments

Got tired of clunky extensions for pdf from ChatGPT Export

https://getchatcache.com
1•vedant28t•32m ago•1 comments

OTUS Project – Observations of Tornadoes by UAV Systems

https://www.theotusproject.com
2•unsnap_biceps•37m ago•0 comments

Cool project to replace PCB in not-very-private home tech

https://www.crowdsupply.com/micimike-rev-devices/micimike-home-mini-drop-in-pcb
2•m463•38m ago•0 comments

Turn geopolitical buzz into concrete risk alerts

https://github.com/vassiliylakhonin/agenda-intelligence-md
2•vassilbek•42m ago•0 comments

A man who blew up a nuclear power station and disappeared

https://www.theguardian.com/world/2026/may/05/the-man-who-blew-up-a-nuclear-power-station-koeberg...
2•sam-cop-vimes•42m ago•0 comments

How do I inform Windows that I'm writing a binary file?

https://devblogs.microsoft.com/oldnewthing/20260504-00/?p=112296
3•ingve•44m ago•0 comments

SEC and Elon Musk agree to settle lawsuit over Twitter buyout in 2022

https://www.cnbc.com/2026/05/04/sec-and-elon-musk-agree-to-settle-lawsuit-over-twitter-buyout-in-...
3•1vuio0pswjnm7•44m ago•1 comments

Germany's main left-wing parties quit Musk's X over disinformation

https://dpa-international.com/politics/urn:newsml:dpa.com:20090101:260504-930-30940/
3•vrganj•45m ago•0 comments

Amazon rolls out Claude Code and Codex internally

https://www.businessinsider.com/amazon-claude-code-codex-all-employees-after-pushback-2026-5
4•preston-kwei•49m ago•0 comments

Free world city time and weather tracker for multiple cities simultaneously

https://weatherdesk.app/
2•abereza•53m ago•2 comments

Inexpressibility in Exp-Minus-Log (EML)

https://arxiv.org/abs/2605.01636
3•unprovable•53m ago•1 comments

One of California's Ritziest Beach Towns Has a Problem: A Tsunami of Raw Sewage

https://www.wsj.com/us-news/climate-environment/california-coronado-island-san-diego-mexico-sewag...
1•helsinkiandrew•55m ago•2 comments