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

Bevy 0.19

https://bevy.org/news/bevy-0-19/
1•paavohtl•2m ago•0 comments

Before SpaceX IPO, Investors in China Acquired Stakes

https://www.propublica.org/article/spacex-elon-musk-ipo-foreign-investors-china
1•ilreb•2m ago•0 comments

I Stored a Website in a Favicon

https://www.timwehrle.de/blog/i-stored-a-website-in-a-favicon/
1•theanonymousone•8m ago•1 comments

Gizmodo breached, hosting malware and no action taken for hours

https://old.reddit.com/r/cybersecurity_help/comments/1uajrup/beware_gizmodo_captcha_malware_attempt/
1•mullingitover•16m ago•1 comments

Virtual whiteboard for sketching hand-drawn like diagrams

https://github.com/excalidraw/excalidraw
1•modinfo•22m ago•0 comments

Bun 1.4 coming July 7th

https://twitter.com/jarredsumner/status/2068059134952677887
1•sorenbs•25m ago•0 comments

Show HN: I wrote a Rust book ending with a Redis clone

https://shankhan3.gumroad.com/l/dnwmtp
1•zeeshanali0094•27m ago•0 comments

Ask HN: What's a simple app you'd build if you had a weekend?

2•akashwadhwani35•28m ago•0 comments

GenAIDojo

https://www.genaidojo.io/
1•aniketwattawmar•41m ago•0 comments

EAS Alarm at midnight caused by a hacker in Brazil

https://www.reddit.com/r/mildlyinfuriating/s/wLRv2s1u5k
2•davidkwast•43m ago•2 comments

Study: Conservatives are dying at higher rates than liberals

https://www.fastcompany.com/91561329/widening-health-gap-between-liberals-and-conservatives
1•MilnerRoute•46m ago•0 comments

The New Calculus of AI-Based Coding

https://blog.joemag.dev/2025/10/the-new-calculus-of-ai-based...
2•aabdi•51m ago•1 comments

Designing a backyard deck for my house

https://blog.cosmin.cloud/posts/diy-deck.html
1•spycraft•56m ago•0 comments

Compress tool outputs, logs, files, RAG chunks before LLM for 60-95% less tokens

https://github.com/chopratejas/headroom
1•gmays•56m ago•0 comments

Trapped in a Waymo: SF passenger recounts terrifying construction zone ordeal

https://abc7news.com/post/waymo-recall-san-francisco-man-recounts-terrifying-moment-when-robotaxi...
1•mikhael•58m ago•0 comments

Show HN: Stocks Porfolio in a URL and Favicon

https://stocksreader.com/
2•franciscop•59m ago•1 comments

Bureaulogy – formation, evolution, and perpetuation of bureaucracies

https://grantslatton.com/bureaulogy
1•thelastgallon•59m ago•1 comments

Chromium Embedded Framework (CEF)

https://github.com/chromiumembedded/cef
1•auraham•1h ago•0 comments

The Punctum and the Blind Field

https://theholbrookreport.com/reports/punctum-and-the-blind-field/
1•TyrunDemeg101•1h ago•0 comments

China will have a Fable 5-class AI model before next year

https://www.tomshardware.com/tech-industry/artificial-intelligence/elon-musk-says-that-china-will...
4•achow•1h ago•0 comments

TV Player for Rocket Launches

https://github.com/sighmon/SpaceX-TV
1•sighmon•1h ago•0 comments

We record because we have forgotten how to remember

https://pilgrimsage.substack.com/p/the-lowest-frequency
1•momentmaker•1h ago•0 comments

AI and the Great CMS Unbundling

https://dri.es/ai-and-the-great-cms-unbundling
2•christefano•1h ago•0 comments

This pole is worse than any Flock Camera [video][38 mins]

https://www.youtube.com/watch?v=wEfbhEVuvMM
1•Bender•1h ago•0 comments

Lawsuit against Amazon over suicides linked to chemical can go to trial

https://www.cbsnews.com/news/amazon-suicide-case-sodium-nitrite-washington-supreme-court/
2•hentrep•1h ago•0 comments

Satellite reveals immense scale of GPS signal tampering

https://www.space.com/space-exploration/satellites/its-quite-a-bit-more-than-we-expected-satellit...
10•y1n0•1h ago•0 comments

Moebius: 0.2B Lightweight Image Inpainting Framework with 10B-Level Performance

https://hustvl.github.io/Moebius/
2•ilreb•1h ago•0 comments

Spirit Crossing's AI Problem

https://blog.curiousquail.com/spirit-crossings-ai-problem/
1•zokiboy•1h ago•0 comments

A Practical Guide to SSH Tunnels: Local and Remote Port Forwarding

https://labs.iximiuz.com/tutorials/ssh-tunnels
2•signa11•1h ago•0 comments

How to lose a war in three easy steps

https://www.ft.com/content/0ba6b511-649e-4a29-bb99-f824584ec93d
12•Alien1Being•1h ago•1 comments