TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Y18n – Bare-bones JavaScript internationalization

14 pointsby BenjaminCoealmost 10 years ago

1 comment

STRMLalmost 10 years ago
This is a nice simplistic implementation for basic apps but could lead to a painful rewrite if you start integrating languages with significantly different grammar constructs than your home language.<p>If you&#x27;re really serious about internationalization you need to use a more complete solution like FormatJS[1], which has a really nice React implementation[2].<p>1. <a href="http:&#x2F;&#x2F;formatjs.io&#x2F;" rel="nofollow">http:&#x2F;&#x2F;formatjs.io&#x2F;</a> 2. <a href="http:&#x2F;&#x2F;formatjs.io&#x2F;react&#x2F;" rel="nofollow">http:&#x2F;&#x2F;formatjs.io&#x2F;react&#x2F;</a>
评论 #9965416 未加载