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

EFF Challenges Secrecy in Eastern District of Texas Patent Case

https://www.eff.org/deeplinks/2026/04/eff-challenges-secrecy-eastern-district-texas-patent-case
2•Brajeshwar•14m ago•0 comments

Pi in the Sky (2016)

http://www.piinthesky.co/
1•radeeyate•14m ago•0 comments

Simulating and Evaluating Agentic Systems

https://www.gojiberries.io/simulating-and-evaluating-agentic-systems/
1•neehao•16m ago•0 comments

I Went to Jail

https://lincolnquirk.substack.com/p/i-went-to-jail
2•Cider9986•17m ago•0 comments

Why would ChatGPT "confess" to a crime it didn't commit?

https://radleybalko.substack.com/p/why-would-chatgpt-confess-to-a-crime
1•xKingfisher•18m ago•0 comments

Just How Much Should You Worry About Eating That Burnt Toast?

https://www.mcgill.ca/oss/article/medical-critical-thinking-health-and-nutrition/just-how-much-sh...
1•amichail•19m ago•0 comments

How Opus Came To Be (2019)

https://jmvalin.dreamwidth.org/16616.html
2•1317•19m ago•0 comments

"That's how floating point errors and triangle numbers solved a mystery."

https://unsung.aresluna.org/thats-how-floating-point-errors-and-triangle-numbers-solved-a-mystery/
1•rbanffy•23m ago•0 comments

Mise-En-Place

https://mise.jdx.dev/
2•dotmanish•25m ago•0 comments

The Death of Monochrome

https://monochrome.tf/
1•SockThief•25m ago•0 comments

PSA: If you're running iSponsorblockTV you'll need to pair your devices again

https://www.reddit.com/r/selfhosted/s/Au5rKG8VbB
1•dmunozv04•27m ago•2 comments

Claude Is Guilt-Ridden About the War, but Not Enough to Tell the Truth

https://newrepublic.com/article/209404/claude-ai-iran-war-guilt-truth
1•mortar•28m ago•1 comments

New NTFS-3G release after 4 years

https://github.com/tuxera/ntfs-3g/releases/tag/2026.2.25
2•haunter•29m ago•0 comments

Space Force awards up to $3.2B for Golden Dome interceptor prototypes

https://spacenews.com/space-force-awards-up-to-3-2-billion-for-golden-dome-interceptor-prototypes/
1•rbanffy•34m ago•0 comments

Colorado Adds Open-Source Exemption to Age-Verification Bill

https://fosstodon.org/@carlrichell/116460505717380644
3•terminalbraid•36m ago•0 comments

How to Say No (2023)

https://psyche.co/guides/how-to-stop-people-pleasing-by-learning-to-say-no
1•herbertl•36m ago•0 comments

Trump fires all 24 members of the U.S. National Science Foundation

https://www.science.org/content/article/trump-fires-nsf-s-oversight-board
91•skullone•37m ago•19 comments

Show HN: A privacy first companion AI

https://www.friendai.pro
1•krunkworx•40m ago•0 comments

George Washington as entrepreneur (2021)

https://lawliberty.org/george-washington-as-entrepreneur/
2•hhs•44m ago•0 comments

Show HN: LLM-wiki – One command Karpathy's wiki with QMD search for Claude/Codex

https://github.com/ivankuznetsov/llm-wiki
2•ivankuznetsov11•48m ago•1 comments

Objects of Categories as Complex Numbers (2002)

https://arxiv.org/abs/math/0212377
2•pizza•48m ago•0 comments

How I leared what a decoupling capacitor is for, the hard way

https://nbelakovski.substack.com/p/how-i-learned-what-a-decoupling-capacitor
4•actinium226•49m ago•0 comments

Got Bugs? U of G Collecting Samples to Catalogue Canada's Biodiversity

https://news.uoguelph.ca/2026/04/got-bugs-u-of-g-collecting-samples-to-catalogue-canadas-biodiver...
2•gnabgib•52m ago•0 comments

The Self-Defeating Condescension of an Anti-Racist Education

https://www.theatlantic.com/ideas/2026/04/anti-racism-schools-achievement-gap/686912/
3•apparent•55m ago•3 comments

Bitwarden CLI Backdoored on NPM for 93 Minutes

https://hackingpassion.com/bitwarden-cli-supply-chain-attack/
2•milkglass•57m ago•1 comments

Hair Dryer Used to Manipulate Polymarket

https://www.engadget.com/big-tech/someone-allegedly-used-a-hairdryer-to-rig-polymarket-weather-be...
2•simpleintheory•57m ago•1 comments

The Eurail Breach and the Digital ID Problem

https://reclaimthenet.org/the-eurail-breach-and-the-digital-id-problem
2•Cider9986•57m ago•0 comments

Astronomy and Mathematics in the Indian Classical Age

https://zenodo.org/records/15715590
1•suyashdeep•58m ago•1 comments

opinion: Professors Are Too Old

https://www.chronicle.com/article/professors-are-too-old
2•paulpauper•58m ago•1 comments

How Short-Form Clips Took over the Internet

https://www.theatlantic.com/podcasts/2026/04/how-short-form-clips-took-over-the-internet/686922/
2•paulpauper•59m ago•1 comments