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

Stohr

https://stohr.io
1•wesscope•1m ago•1 comments

Amazon takes $45M hit, abandons planned West Auckland data centre

https://www.rnz.co.nz/news/business/594164/amazon-takes-45m-hit-abandons-planned-west-auckland-da...
3•billybuckwheat•1m ago•0 comments

The new grads are not okay

https://blog.evan.hu/p/the-new-grads-are-not-okay
1•evanhu_•5m ago•0 comments

Request for Testers: Personal Planning App

https://www.threads.com/@alaaalatif/post/DX5VxSbmSgE
1•JustCallMeAl•20m ago•1 comments

Russian Soldiers Surrendered for Free McDonald's

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

Don't Sue Me Nintendo

https://latexcrimes.leaflet.pub/3mky5fjz67k2p
1•Kye•27m ago•0 comments

Do AI Detectors Work Well Enough to Trust?

https://www.chicagobooth.edu/review/do-ai-detectors-work-well-enough-trust
1•alex000kim•31m ago•0 comments

Know thyself: LLM schema for personal memory

https://github.com/parrik/know-thyself
2•parrik•32m ago•0 comments

Valletta: A City in History [pdf]

https://www.um.edu.mt/library/oar/bitstream/123456789/15640/1/Valletta%20-%20A%20city%20in%20hist...
1•andsoitis•32m ago•0 comments

Daily Dots

https://dailydots.dev/
1•oliver-zink•33m ago•0 comments

Should You Be Able to Experiment on Your Own Cancer? (2024)

https://unchartedterritories.tomaspueyo.com/p/should-you-be-able-to-experiment
1•Ariarule•33m ago•0 comments

The Science of French Fries

https://foodcrumbles.com/science-making-perfect-fries/
1•lagniappe•34m ago•0 comments

Fake Notepad++ for Mac

https://notepad-plus-plus.org/news/npp-trademark-infringement/
4•birdculture•37m ago•1 comments

Said it couldn't see her eyes. The car then automatically disabled

https://twitter.com/WallStreetApes/status/2051079891316248860
6•bilsbie•38m ago•1 comments

(not) using "cryptographic hashes" for hash table keys

https://runxiyu.org/comp/ch4ht/
1•runxiyu•39m ago•0 comments

Show HN: Using Tailscale with Apple's containerization stack

https://github.com/highpost/tailscale-macos-container
2•highpost•40m ago•0 comments

Trump blocks wind farms on national security grounds

https://www.telegraph.co.uk/business/2026/05/03/trump-blocks-wind-farms-national-security-grounds/
7•pseudolus•40m ago•1 comments

The text mode lie: why modern TUIs are a nightmare for accessibility

https://xogium.me/the-text-mode-lie-why-modern-tuis-are-a-nightmare-for-accessibility
29•SpyCoder77•42m ago•3 comments

Why I Created phpc.tv

https://afilina.com/why-phpc-tv
1•luu•48m ago•0 comments

Can a quantum sensor detect your heartbeat from 60 km away? [video]

https://www.youtube.com/watch?v=N3zU7sV4bJE
1•areoform•55m ago•1 comments

Conclave – make LLMs debate each other before they respond

https://adndvlp.github.io/conclave/
2•andngd•56m ago•0 comments

ProteinView

https://github.com/001TMF/ProteinView
1•ray__•59m ago•0 comments

How many e's are in strawberry?

https://smileplease.mataroa.blog/blog/how-many-e-are-in-strawberry/
4•Imustaskforhelp•1h ago•3 comments

Let's Buy Spirit Air

https://letsbuyspiritair.com/
38•bjhess•1h ago•18 comments

Vertical agrivoltaics in a temperate climate: Technical and social dimensions

https://www.sciencedirect.com/science/article/pii/S2772427125001664
3•bookofjoe•1h ago•0 comments

GameStop Is Offering to Buy eBay for $56B, CEO Ryan Cohen Says

https://www.wsj.com/business/deals/gamestop-is-offering-to-buy-ebay-for-56-billion-ceo-ryan-cohen...
5•momentmaker•1h ago•1 comments

Show HN: Special Days

https://special-days.pressbin.com/
2•jawns•1h ago•0 comments

Every American interacting with chatbot would need to upload a government ID

https://reclaimthenet.org/senate-panel-backs-guard-act-ai-age-verification-bill
10•g42gregory•1h ago•0 comments

xAI (Grok) Text-to-Speech and Speech-to-Text Are Now Available in Puter.js

https://developer.puter.com/blog/xai-tts-stt-in-puter-js/
1•ent101•1h ago•0 comments

Modern Standby is draining your laptop's battery, and Microsoft won't fix it

https://www.xda-developers.com/modern-standby-draining-windows-11-laptop-battery-microsoft-wont-f...
1•unddoch•1h ago•0 comments