FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Your browser speaks 200+ languages.
How-ToWeb Development

Your browser speaks 200+ languages.

via Dev.to WebdevKirill Chernenko2h ago

Let's say you're building a chat app. International. You're launching in Germany, Japan, and Brazil next quarter — because apparently that's the plan now, and you found out on a Tuesday afternoon. You have a timestamp. A user was online 5 hours ago. You want to show that. Simple. In English: "5 hours ago" In German: "vor 5 Stunden" In Japanese: "5時間前" In Brazilian Portuguese: "há 5 horas" Or maybe you have an event. It's in two days. You want to say that. In English: "in 2 days" In Arabic: "خلال يومين" In Turkish: "2 gün içinde" Or just a date. March 25, 2026. Simple. In English: "Mar 25, 2026" In Russian: "25 мар. 2026 г." In Chinese: "2026年3月25日" None of this is hard to display. It's hard to display correctly, in the right language, without shipping a dictionary to every user. The obvious solution that isn't great You open dayjs. You find the locale system. You import German. Portugal... and over and over more. import ' dayjs/locale/de ' import ' dayjs/locale/ja ' import ' dayjs/loca

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
0 views

Related Articles

The Deceptively Tricky Art of Designing a Steering Wheel
How-To

The Deceptively Tricky Art of Designing a Steering Wheel

Wired • 56m ago

7 Wireshark Filters That Instantly Make You Look Like a Network Expert
How-To

7 Wireshark Filters That Instantly Make You Look Like a Network Expert

Medium Programming • 2h ago

Week 6 — No New Problems. Just Me and Everything I Already Learned.
How-To

Week 6 — No New Problems. Just Me and Everything I Already Learned.

Medium Programming • 7h ago

What OpenClaw Gets Wrong Out of the Box (And How to Fix It)
How-To

What OpenClaw Gets Wrong Out of the Box (And How to Fix It)

Medium Programming • 7h ago

Android Remote Compose:讓 Android UI 不用發版也能更新
How-To

Android Remote Compose:讓 Android UI 不用發版也能更新

Medium Programming • 9h ago

Discover More Articles