Menu
The code works on my machine :shrug:
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
Hardcoded-strings Memes
Posts tagged with Hardcoded-strings
I 18 N Not Needed
Frontend
Javascript
Programming
Webdev
React
20 days ago
87.2M views
0 shares
Classic move right here. Someone hardcoded the ternary operator display text directly into the UI instead of using proper i18n (internationalization) keys. So now users in Germany are staring at "Save" or "d" when the media is saved, and everyone's wondering what the hell "d" means in their language. Spoiler alert: it means nothing. The beauty of this is that some dev thought "we're only launching in English-speaking markets" and then three months later the PM announces expansion to 47 countries. Now you get to grep through thousands of files finding every hardcoded string while questioning your life choices. Pro tip: i18n isn't just for translation—it's for when you realize "d" made perfect sense at 2 AM but means absolutely nothing to anyone else, including your future self.
Today's picks
WALI Monitor Stand Riser with Drawer and 2 Pen Holders, Desk Organizers and Accessories for Computer, Printer, Laptop Stand for Home Office Supplies, (PTT004-B), 1 Pack, Black
Affiliate
$18.99
OP asks "Do people in non-English-speaking countries code in English?"
Programming
128.7K views
4 years ago
NordVPN
Sponsored
VPN