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

Anthropic: No "kill switch" for AI in classified settings

https://www.axios.com/2026/04/22/anthropic-no-kill-switch-ai-classified-settings
1•dsavant•12s ago•1 comments

America's descent into state capitalism is exaggerated

https://www.economist.com/business/2026/04/22/americas-descent-into-state-capitalism-is-exaggerated
1•andsoitis•5m ago•0 comments

It's time to reclaim the word "Palantir" for JRR Tolkien

https://www.zig.art/p/its-time-to-reclaim-the-word-palantir
2•IdahoSpring•6m ago•0 comments

Google upgrades AI Mode in the Chrome browser

https://blog.google/products-and-platforms/products/search/ai-mode-chrome/
1•gmays•7m ago•0 comments

Why This Car Rental Company's Stock Climbed 700% in One Month

https://www.forbes.com/sites/aliciapark/2026/04/22/a-car-rental-stock-is-up-700-in-one-month-is-i...
3•paulpauper•10m ago•0 comments

Congress pushes new semiconductor export control law

https://www.tomshardware.com/tech-industry/semiconductors/congress-moves-to-strip-commerce-of-chi...
2•jackyli02•14m ago•0 comments

Bash-ships: A Bash implementation of the classic strategy game Battleships

https://github.com/StarShovel/bash-ships
1•thunderbong•21m ago•0 comments

Show HN: Better-skills – Agent skill manager with profiles and versioning

https://github.com/ocherry341/better-skills
1•ocherry6622•22m ago•0 comments

Tasteful Tokenmaxxing

https://www.latent.space/p/ainews-tasteful-tokenmaxxing
1•omer_k•27m ago•0 comments

Arti: a Rust Tor Implementation – no longer experimental and ready for use

https://arti.torproject.org
2•acheong08•31m ago•0 comments

Why Iran Metabolizes the Pressure That Broke Venezuela

https://warontherocks.com/why-iran-metabolizes-the-pressure-that-broke-venezuela/
1•KnuthIsGod•33m ago•0 comments

Orinoco: Young Generation Garbage Collection

https://v8.dev/blog/orinoco-parallel-scavenger
2•plow-tycoon•35m ago•0 comments

Rspack 2.0

https://rspack.rs/blog/announcing-2-0
1•bpierre•36m ago•0 comments

Linux may get a hall pass from one state age bill, Congress plays hall monitor

https://www.theregister.com/2026/04/22/linux_us_state_age_verificaiton_laws/
1•Bender•38m ago•0 comments

Lisp Chat: An anonymous chat IRC-like written in Common Lisp

https://github.com/ryukinix/lisp-chat
1•lerax•38m ago•1 comments

OCUDU ecosystem foundation to accelerate open source AI-RAN innovation

https://www.linuxfoundation.org/press/linux-foundation-announces-ocudu-ecosystem-foundation-to-ac...
1•teleforce•38m ago•0 comments

Iran claims US used backdoors to knock out networking equipment during war

https://www.theregister.com/2026/04/21/iran_claims_us_used_backdoors/
1•Bender•39m ago•1 comments

A Practical Introduction to Constraint Programming Using CP-SAT and Python

https://pganalyze.com/blog/a-practical-introduction-to-constraint-programming-using-cp-sat
1•acheong08•39m ago•0 comments

Show HN: Cartoon Studio – an open-source desktop app for making 2D cartoon shows

https://github.com/Jellypod-Inc/cartoon-studio
3•bilater•44m ago•0 comments

Amazon is regretting AI [video][8 mins]

https://www.youtube.com/watch?v=0vvVo0Um1HY
2•Bender•45m ago•0 comments

Starbucks expansion in Nashville brews bitterness in Seattle

https://www.seattletimes.com/business/starbucks/starbucks-expansion-in-nashville-brews-bitterness...
1•RickJWagner•45m ago•0 comments

Borrow-checking without type-checking

https://www.scattered-thoughts.net/writing/borrow-checking-without-type-checking/
4•jamii•45m ago•0 comments

The Edge of Safe Rust

https://kyju.org/blog/tokioconf-2026/
1•vinhnx•46m ago•0 comments

Show HN: Firetiger Change Monitors: does your PR do what it says on the tin?

https://blog.firetiger.com/firetiger-change-monitors/
1•matsur•47m ago•0 comments

Show HN: I made a simpler API for Chrome's on-device LLM

https://www.npmjs.com/package/simple-chromium-ai
1•xtrkil•48m ago•0 comments

Flow Map Learning via Nongradient Vector Flow

https://openreview.net/pdf?id=C1bkDPqvDW
1•E-Reverance•49m ago•0 comments

AI that turns any photo into a cinematic video in seconds

https://imagetovideoai.net
1•ninglz•51m ago•0 comments

The Future of Testing Is Here

https://testkube.wistia.com/live/events/gigwl708fn
1•evwitmer•52m ago•1 comments

Fiction: The Corporate Mathematics of Denying AI Consciousness

1•ISJLA•55m ago•0 comments

Chrrp – alternative to Twitter / X, Bluesky, Threads, and Reddit

https://www.gochrrp.com
1•EatYoBroccoli•58m ago•1 comments