Tool Hub

國際化演練場

比較 DateTimeFormat · NumberFormat · RelativeTimeFormat 在各語系下的輸出

預覽瀏覽器內建 Intl API 的本地化輸出。可查看日期、數字、相對時間、清單和複數在各語言中的表現 — 適合在建構多語言 UI 前對比結果。

覆寫預設

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

使用方法

  1. Select a locale from the dropdown or type a custom BCP 47 tag such as fr-CA。
  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。

生產環境使用前請驗證輸出。無擔保 — 參見 條款.