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

'Breakthrough' as Turkmenistan starts fixing 'mindboggling' methane mega-leaks

https://www.theguardian.com/environment/2026/aug/31/turkmenistan-methane-leaks-un-alerts-mars
2•Symbiote•1m ago•0 comments

Malacca Dilemma

https://en.wikipedia.org/wiki/Malacca_dilemma
2•leonidasrup•3m ago•0 comments

I Think the Military Commissary's Freezers Were Hacked

https://signalandsilence.substack.com/p/i-think-someone-hacked-the-commissary
3•jcurbo•5m ago•0 comments

Datadog saves over $1M each month by optimizing AI usage

https://www.datadoghq.com/blog/how-datadog-saves-money-by-optimizing-ai-usage/
2•darccio•6m ago•0 comments

A Stateful Problem

https://www.b-list.org/weblog/2010/dec/24/states/
2•dbaupp•9m ago•0 comments

Show HN: Evoboard – GitHub style habit heatmaps with automatic activity logging

https://evoboard.me/
2•Borsoon•9m ago•0 comments

EMLV: A Secure .eml Email Viewer for VS Code and Cursor

https://github.com/EbodShojaei/EMLViewer
3•bebe311•16m ago•0 comments

What I Learned About AI Trust from Reconciling over 100B Transactions

https://engineering.moniepoint.com/what-i-learned-about-ai-trust-from-reconciling
3•Cellz•17m ago•0 comments

Vssh: Add SSH:// scheme for remote command execution

https://github.com/curl/curl/pull/22661
2•_____k•18m ago•0 comments

Holden's Lightning Flight

https://en.wikipedia.org/wiki/Holden%27s_Lightning_flight
2•ColinWright•22m ago•0 comments

After a rough stretch, mRNA gets a boost from cancer vaccines

https://www.statnews.com/2026/08/31/mrna-cancer-vaccine-intersects-politics-medicine/
2•brandonb•22m ago•0 comments

Ten Steps on the Road to Efficient

https://seths.blog/2026/08/ten-steps-on-the-road-to-efficient/
2•momentmaker•23m ago•0 comments

Giza Pyramid Complex

https://en.wikipedia.org/wiki/Giza_pyramid_complex
2•tosh•24m ago•0 comments

DeepSeek-V4-Flash-Vision-Exp

https://huggingface.co/deepseek-ai/DeepSeek-V4-Flash-Vision-Exp
3•amulyabaral•26m ago•0 comments

The Universe as a Minified Bundle

https://andrewarrow.dev/2026/moons/2/day/9/the-universe-as-a-minified-bundle/
2•cs1996•27m ago•0 comments

14% of US employers to drop weight-loss drugs in 2027, as costs increase

https://www.reuters.com/legal/litigation/more-us-employers-drop-weight-loss-drugs-2027-healthcare...
2•brandonb•28m ago•0 comments

Real Estate Scraper– Token-efficient structured property crawler

https://github.com/Kodomoppoi/Real-estate-Scrapper
2•Koddop•29m ago•1 comments

The feds seized a stake in Anthropic from Sam Bankman-Fried's friends

https://www.businessinsider.com/sam-bankman-fried-anthropic-ftx-caroline-ellison-nishad-singh-doj...
2•theanonymousone•32m ago•0 comments

Agent Memory as a File Format

https://calpaterson.com/memoryfields.html
3•ingve•34m ago•0 comments

celld v0.4.0

https://github.com/denoland/celld/releases/tag/v0.4.0
2•tosh•34m ago•0 comments

A CVE Dispute

https://daniel.haxx.se/blog/2026/06/24/a-cve-dispute/
26•theanonymousone•38m ago•0 comments

Your syntax highlighter is wrong (2014)

https://jameshfisher.com/2014/05/11/your-syntax-highlighter-is-wrong/
2•kqr•39m ago•0 comments

Editable 2.0 preview – CMS-free editable websites with Svelte and SQLite

https://editable.website/
3•_mql•41m ago•1 comments

Andrew Ng: the biggest opportunities in AI

https://www.youtube.com/watch?v=o-wv_szZ0V0
2•lifeisstillgood•41m ago•0 comments

SubmitMap – 360 launch directories, who each one accepts, and why

https://submitmap.com/
2•submitmap•43m ago•0 comments

CC builds macOS native driver for HP Laser 1008a

https://github.com/Kuberwastaken/hp-laser-1008a-macos
3•kekqqq•46m ago•0 comments

Sabine Hossenfelder: More Exposed Than Ever (Racism Edition) [video]

https://www.youtube.com/watch?v=BdB79BUcLV0
5•lynx97•47m ago•1 comments

You Know Who Hates AI? Insurance Claims Adjusters

https://www.wired.com/story/insurance-claims-adjusters-really-hate-ai/
2•joozio•50m ago•0 comments

An AI agent is a background job, not a web request

https://nitishagar.medium.com/an-agent-is-a-job-not-an-api-7673b837bd11
2•nitishagar•50m ago•0 comments

The quality you should most wish for your children

http://economist.com/business/2026/08/27/the-quality-you-should-most-wish-for-your-children
4•pingou•52m ago•1 comments