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

Btrfs Ready with More Performance Improvements for Linux 7.3: Some ~3-5x Wins

https://www.phoronix.com/news/Linux-7.3-Btrfs
2•water-drummer•8m ago•0 comments

Winchester Mystery House

https://en.wikipedia.org/wiki/Winchester_Mystery_House
1•pchangr•16m ago•0 comments

Claude Revived My Microsoft Band 2

https://webenclave.com/posts/bringing-a-microsoft-band-2-back-from-the-dead/
1•bchip•26m ago•0 comments

The most thoroughly commented linker script (probably)

https://blog.thea.codes/the-most-thoroughly-commented-linker-script/
1•rramadass•27m ago•1 comments

Show HN: Doubletake – a daily spot-the-difference in ink and wash

https://doubletake.day
1•jokojogi•27m ago•0 comments

The US national debt now stands at $40T

https://apnews.com/article/treasury-national-debt-limit-a27a8d3651ff810b25c610d3e1b6259d
3•geox•42m ago•5 comments

Basics of the Unix Philosophy

https://cscie2x.dce.harvard.edu/hw/ch01s06.html
1•num42•43m ago•0 comments

Show HN: Linux and iPhone Continuity (iMessage / SMS)

https://github.com/zackb/tether
3•zackb•44m ago•0 comments

KVM Planes Head for Takeoff

https://lwn.net/Articles/1087590/
1•pykello•46m ago•0 comments

The Grand Unified Theory Extends A.E.'S Goals

https://medium.com/@f9121212/the-grand-unified-theory-extends-a-e-s-goals-b2c9456d7813
1•ortrich•48m ago•1 comments

Why Microsoft Entertainment Pack had a sticker announcing that it had Tetris?

https://devblogs.microsoft.com/oldnewthing/20260818-00/?p=112621
3•tybulewicz•55m ago•0 comments

The Pit of Success – An Interview with Rico Mariani

https://www.youtube.com/watch?v=48Rig6v-xYU
1•bananaboy•1h ago•0 comments

MailSalonSync – replace offlineimap or mbsync with JMAP support, written in Go

https://git.cerberusgames.ca/Starstreak/MailSalonSync
2•QBasicBitch•1h ago•0 comments

Thoughts About Scaling Law (By the Founder of ZAI of GLM Fame)

https://xcancel.com/antibot/captcha
3•vismit2000•1h ago•0 comments

Designing Loops for Production-Grade Work

https://www.liquid.ai/blog/agent-loops
2•kiyanwang•1h ago•0 comments

The little-told story of the WWII pet cull

https://www.bbc.com/news/magazine-24478532
3•madihaa•1h ago•0 comments

Measuring Strait of Hormuz ship traffic and how Big Oil profits from it

https://wherobots.com/blog/hormuz-vessel-detection/
1•dr-jia-yu•1h ago•1 comments

Polygon Discovers Fire Emblem: Fortune's Weave Requires the Console It Was Made

https://noisypixel.net/fire-emblem-fortunes-weave-switch-2-exclusive/
2•jamarna•1h ago•1 comments

Packing Malware in Rosetta 2

https://kernelkennel.com/blog/summercon2026-rosetta/
3•n0blenote•1h ago•0 comments

American killed by lightning while climbing Italian volcano

https://www.newsweek.com/american-killed-by-lightning-while-climbing-italian-volcano-12330506
1•jamarna•1h ago•0 comments

Slack Code Is Live

https://twitter.com/Benioff/status/2090240159115853956
3•ramoz•1h ago•1 comments

Armwood High graduate uses 40 scholarships to attend Princeton

https://baynews9.com/fl/tampa/news/2026/08/14/armwood-high-graduate-uses-scholarships-to-make-pri...
3•banimak•1h ago•0 comments

SeedSQL – Generate realistic SQL mock data with foreign key integrity

https://seed-sql.ai.studio
3•hrdhanush•1h ago•0 comments

Cloudflare Workers Spectre Attack Leaks JWT at 12 Bits/S

https://cyberupdates365.com/cloudflare-workers-spectre-attack/
3•sysadmin_diarie•1h ago•0 comments

MiniageOS: "Dumbphone" Version of LineageOS

https://github.com/ofdryads/miniageOS
3•ashenke•1h ago•0 comments

Fool's Gold: Defensive Deception Against Safety-Removal Attacks on Open-Weight

https://arxiv.org/abs/2608.17202
2•sbulaev•1h ago•0 comments

Scenic spot in Italian mountains overrun by tourists seeking the perfect pastry

https://www.ctvnews.ca/lifestyle/article/scenic-spot-in-italian-mountains-overrun-by-tourists-see...
2•mafidia•1h ago•0 comments

GEN-1.5, a one-shot learner robotics foundational model [video]

https://www.youtube.com/watch?v=1cllCVK-9lo
5•AareyBaba•1h ago•0 comments

Imging – Local Image Tools

https://imging.cn/en/
2•fgghyyfk•1h ago•0 comments

'It wasn't me': Weed use in Allegheny County jury room forces homicide mistrial

https://triblive.com/privacy/
1•hussnymoba•1h ago•0 comments