Tool Hub

国际化演练场

比较 DateTimeFormat · NumberFormat · RelativeTimeFormat 在各语言环境下的输出

预览浏览器内置 Intl API 的本地化输出。可查看日期、数字、相对时间、列表和复数在各语言中的表现 — 适合在构建多语言 UI 前对比结果。

覆盖预设

格式化结果
June 25, 2026 at 4:37 AM

使用方法

  1. 选择
  2. Switch between the DateTimeFormat, NumberFormat, RelativeTimeFormat, ListFormat, and PluralRules tabs.
  3. Adjust the options within each tab and see the formatted output update in real time.
  4. Copy the share link to save a specific locale and tab configuration.

示例

  • Setting locale to ar-EG on the NumberFormat tab shows Arabic-Indic digits and right-to-left grouping for the number 1234567.89.
  • Switching to ko-KR on the DateTimeFormat tab with style "full" outputs the date in Korean with year, month, day, and weekday spelled out.

生产环境使用前请验证输出。无担保 — 参见 条款.