frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Ask HN: Extract text and translate on every PR

1•danielandrews43•5h 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•3h 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•2h 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

A New Headache for Honest Students: Proving They Didn't Use A.I

https://www.nytimes.com/2025/05/17/style/ai-chatgpt-turnitin-students-cheating.html
1•ripe•1m ago•0 comments

Reservoir Sampling

https://elly.town/d/blog/2025-05-17-reservoir-sampling.txt
1•bitbasher•2m ago•0 comments

Obviously, OpenAI will monetize with ads

https://mobiledevmemo.com/obviously-openai-will-monetize-with-ads/
2•mfiguiere•3m ago•0 comments

Solving Stumper

https://www.csun.io/solving-stumper
1•igpay•7m ago•0 comments

Sketch: Autonomous Software Apprentice

https://github.com/boldsoftware/sketch
1•vortex_ape•10m ago•0 comments

The future of the internet is in the past

https://old.reddit.com/r/webdev/comments/1kp5ria/the_future_of_the_internet_is_in_the_past/
1•redbell•10m ago•0 comments

Who first described the "fence-post error?"

https://web.archive.org/web/20160305221341/http://www.dsm.fordham.edu/~moniot/Opinions/fencepost-error-history.shtml
1•scrlk•12m ago•0 comments

Ancient reptile footprints are rewriting the history of when animals evolved

https://apnews.com/article/oldest-reptile-footprints-australia-963e3c38c8d5782e7ac20f5405f15f89
2•gmays•20m ago•0 comments

California vanity license plate applications with reasons for rejection

https://github.com/veltman/ca-license-plates
7•networked•23m ago•0 comments

Rust success story that killed Rust within a company

https://www.reddit.com/r/rust/s/507ZhSXJZ9
2•dabinat•24m ago•0 comments

Can You Trust Code Copilots? Evaluating LLMs from a Code Security Perspec

https://arxiv.org/abs/2505.10494
3•badmonster•29m ago•0 comments

Evaluate Any Model from the HuggingFace Hub on the ImageNet on Free Colab GPUs

https://github.com/SauravMaheshkar/notebooks/blob/main/src/hf_imagenet_val.ipynb
1•sauravmaheshkar•34m ago•0 comments

Ancient trick to calculate any square root

https://www.youtube.com/watch?v=MXveVqBxFow
1•gavide•35m ago•0 comments

RemNote: Anki and Obsidian/Roam in One Tool (Supports FSRS)

https://www.remnote.com/
2•mfranzs•36m ago•0 comments

Uncle Patrick's Secessionist Breakfast

https://www.sfchronicle.com/projects/2025/dave-eggers-short-story/
2•mrtomservo•40m ago•1 comments

InventWood is about to mass-produce wood that's stronger than steel

https://techcrunch.com/2025/05/12/inventwood-is-about-to-mass-produce-wood-thats-stronger-than-steel/
1•mmooss•41m ago•1 comments

Severed Fingers and 'Wrench Attacks' Rattle the Crypto Elite

https://www.wsj.com/finance/currencies/crypto-industry-robberies-attacks-32c2867a
21•spenvo•43m ago•11 comments

The Rotten Ritual of Parliament

https://nationfirst.substack.com/p/the-rotten-ritual-of-parliament
1•bigbadozdave•47m ago•0 comments

Waist-to-height ratio predicts heart failure incidence

https://www.escardio.org/The-ESC/Press-Office/Press-releases/Waist-to-height-ratio-predicts-heart-failure-incidence
3•geox•47m ago•1 comments

FCC approves Verizon's $20B merger after it commits to 'ending' DEI

https://www.theverge.com/news/668614/verizon-frontier-acquisition-fcc-approval
4•bundie•48m ago•0 comments

Show HN: Commander – AI-Powered Browser Automation

https://www.commander-ai.com/
3•kadarla•49m ago•0 comments

Template engine with hyperscript and observable models (2020)

https://aliceo2group.github.io/WebUi/Framework/docs/guide/template-engine.html
1•kugurerdem•50m ago•0 comments

An EPA Without Science

https://www.nybooks.com/online/2025/05/16/an-epa-without-science/
2•mitchbob•51m ago•1 comments

An Efilist Just Bombed a Fertility Clinic. Was This Bound to Happen?

https://default.blog/p/an-efilist-just-bombed-a-fertility
28•starkparker•51m ago•17 comments

Who Did This (Etymonline)?

https://www.etymonline.com/columns/post/bio
1•mmooss•52m ago•0 comments

The effect of physical fitness on mortality is overestimated

https://www.uu.se/en/press/press-releases/2025/2025-05-15-the-effect-of-physical-fitness-on-mortality-is-overestimated
3•gnabgib•56m ago•0 comments

The Economist's global rip off

https://halcrawford.substack.com/p/the-economists-global-rip-off
9•austinallegro•56m ago•2 comments

Show HN: AI web scraper (no selectors, $2/1k pages, built by 1 dev)

https://web.instantapi.ai/
1•zeeb0t•56m ago•0 comments

Crypto-Related Abudctions Are on the Rise Globally

https://gizmodo.com/crypto-related-abudctions-are-on-the-rise-globally-2000603864
1•Bender•57m ago•1 comments

Using unwrap() in Rust is Okay (2022)

https://burntsushi.net/unwrap/
2•pierremenard•57m ago•0 comments