TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Y18n – Bare-bones JavaScript internationalization

14 点作者 BenjaminCoe将近 10 年前

1 comment

STRML将近 10 年前
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 未加载