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

US millionaire big-game hunter dies after being crushed by elephants

https://www.theguardian.com/us-news/2026/apr/24/millionaire-hunter-dies-elephants-gabon
1•PaulHoule•2m ago•0 comments

Getting Lois in Defense?

1•andrebenoit11•3m ago•0 comments

If HN policy disallows AI comments, why is linking to AI generated content ok?

2•ekelsen•4m ago•3 comments

Empire of the Air (PBS, 1992)

https://archive.org/details/empire-of-the-air
1•petethomas•6m ago•0 comments

Tests suggest Russian satellites can jam GPS on a continental scale

https://arstechnica.com/space/2026/06/tests-suggest-russian-satellites-can-jam-gps-on-a-continent...
3•emot•12m ago•0 comments

Elon Musk says SpaceX doesn't need 'magic' to put AI data centers up in space

https://www.marketwatch.com/story/elon-musk-says-spacex-doesnt-need-magic-to-put-ai-data-centers-...
1•emot•13m ago•0 comments

Meta Deletes Face-Recognition System from Smart Glasses App After Wired Report

https://www.wired.com/story/meta-removes-face-recognition-code-meta-ai-app-smart-glasses/
3•littlexsparkee•13m ago•0 comments

Show HN: I recreated AOL Instant Messenger in the browser

https://www.webaim.xyz
2•RgrTheShrubbr•19m ago•0 comments

Loop Engineering

https://twitter.com/i/status/2064127981161959567
2•twapi•21m ago•0 comments

Rutger Bregman and His School for Moral Ambition Lacks Moral Ambition

https://louwrentius.com/rutger-bregman-his-school-for-moral-ambition-lacks-moral-ambition.html
1•louwrentius•21m ago•0 comments

Supporting Exchange and beyond

https://brendan.abolivier.bzh/exchange-pt-2/
1•babolivier•23m ago•0 comments

A new study says people love working from home, but does it love them back?

https://www.npr.org/2026/06/08/nx-s1-5848125/remote-work-mental-health-isolation
2•xrd•24m ago•0 comments

Exposing the Solid State Donut Battery. It's Over. [video]

https://www.youtube.com/watch?v=j5oyVNjrUPI
2•jbardnz•24m ago•0 comments

GNU Binutils 2.46.1 Released

https://sourceware.org/pipermail/binutils/2026-June/149568.html
2•edelsohn•24m ago•0 comments

Semantics for 2D Rasterization

https://arxiv.org/abs/2603.23696
2•coffeeaddict1•28m ago•0 comments

SpaceX has just officially unveiled its AI1 satellite

https://twitter.com/SawyerMerritt/status/2064108916611420273
3•redox99•30m ago•0 comments

Remembering the USS Liberty – and why it still matters

https://captimes.com/opinion/guest-columns/opinion-remembering-the-uss-liberty-and-why-it-still-m...
4•kumarski•30m ago•1 comments

170k Claude queries per gallon of gas?

https://claude.ai/share/44fdc891-0fe5-40f3-a5b5-b203bbb6ab02
2•millisecond•32m ago•1 comments

AI Is Upending One of Finance's Cushiest Jobs

https://www.bloomberg.com/news/features/2026-06-05/ai-is-upending-traditional-financial-advisor-jobs
2•ctkhn•34m ago•2 comments

JNU, an Vibe Coded Operating System

3•annoymousperson•37m ago•0 comments

AI Has Broken Hiring

https://hbr.org/2026/06/ai-has-broken-hiring-heres-how-to-fix-it
2•seafaithless•39m ago•0 comments

BofA Warns It's Time to 'Take Profits' as Red Flags Multiply

https://www.bloomberg.com/news/articles/2026-06-08/bofa-warns-it-s-time-to-take-profits-as-red-fl...
12•petethomas•47m ago•0 comments

Show HN: Mach – A compiled systems language looking for contributions

https://github.com/octalide/mach
6•octalide•51m ago•1 comments

Show HN: Ustps (UDP Speedy Transmission Protocol Secure) and USSH

https://github.com/x1colegal/USTP-Secure
3•x1colegal•57m ago•1 comments

Show HN: Sudo Report – Drudge closne for AI/tech/product

https://wwe.sudoreport.com
3•ataturkle•59m ago•0 comments

WhatsApp disrupted spear phishing attempts, asks court to hold NSO in contempt

https://arstechnica.com/tech-policy/2026/06/meta-alleges-nso-violated-spyware-injunction-with-new...
2•SockThief•1h ago•0 comments

Why Compiler Engineers Avoid Strassen's Algorithm for Matrix Multiplication

https://leetarxiv.substack.com/p/why-compilers-rarely-use-strassens-algorithm
3•birdculture•1h ago•0 comments

How to Measure Time to First Token (TTFT)

https://qainsights.com/how-to-measure-time-to-first-token-ttft-in-ai-systems/
2•qainsights•1h ago•0 comments

Germany and France Scrapped the FCAS

https://www.reuters.com/business/aerospace-defense/german-french-leaders-unable-resolve-fcas-figh...
6•signatoremo•1h ago•0 comments

Tim Cook's Final WWDC Showed Why Apple Still Always Wins in the End

https://www.inc.com/connor-jewiss/tim-cook-final-wwdc-showed-why-apple-still-always-wins-in-the-e...
4•connorjewiss•1h ago•0 comments