DEV Community

Discussion on: Build a Multi-Language Countdown Component

Collapse
 
alxtsg profile image
Alex Tsang

lang="zh-Hans-CN-u-nu-hanidec"

In Chinese the numerical values such as 141 and 16 are not written as "一四一" and "一六" but "一百四十一" and "十六" respectively ("百" means hundred and "十" means ten, so "一百" means one hundred and "四十" means forty). The results look very weird. I tested other numeral systems like hanidays and hantfin but the results are the same as using en-US.

Collapse
 
madsstoumann profile image
Mads Stoumann

That’s interesting, thanks for sharing. I wonder if these are bugs in the Intl.RelativeTimeFormat api, or if these locales are not fully supported (yet)