By Chen Hui Jing / @hj_chen
🦖🦕
“What would happen if we translated this blog in a number of main languages like German, French, Spanish, and then Italian, Brazilian-Portuguese and then Japanese?”
–Someone from Growth…
Language: A system of communication used by a particular country or community
Script: A visual representation of verbal speech
Domain: An easy-to-remember address used to access websites
Locale: A set of language- or country-based preferences for a user interface
The Chinese numeral system (also used by Japanese and Korean) has specific words for large numbers as per the traditional Chinese grouping of 10,000.
Simp. Chinese | Trad. Chinese | Japanese | Korean | |
---|---|---|---|---|
10 | 十 (shí) | 十 | 十 (juu) | 십 (ship) |
100 | 百 (bǎi) | 百 | 百 (hyaku) | 백 (baek) |
1000 | 千 (qiān) | 千 | 千 (sen) | 천 (cheon) |
10,000 | 万 (wàn) | 万 | 万 (man) | 만 (man) |
100,000,000 | 亿 (yì) | 億 | 億 (ichioku) | 억 (eok) |
1,000,000,000,000* | 兆 (zhào) | 兆 | 兆 (icchou) | 조 (jo) |
Not this:
But this:
Over %{total_stores} businesses in %{total_countries} countries around the world have made over $%{total_gmv_billions} billion USD in sales using Shopify
We were literally saying our GMV is 200 ten million dollars, which is kind of a glaring grammatical error.
The Japanese team had worked around this issue previously by editing the locale files that reference our total GMV numbers like so:
%{total_gmv_billions}0億米ドル
Our Japan team spotted this error and made the adjustment of replacing 十 with a 0.
This will be how it looks for each respective language:
%{total_gmv_billions}0억 달러(USD)
%{total_gmv_billions}0 亿美元
%{total_gmv_billions}0 億美元
Lessons From Linguistics: i18n Best Practices for Front-End Developers by Lucas Huang
Shopify Sans was designed by Commercial Type and based on their typeface, Graphik.
(We actually do not own it outright because of that)
The Vietnamese alphabets are listed in several non-contiguous Unicode ranges:
:lang()
pseudo-class
:lang(vi) {
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
:lang(ko) {
font-family: ShopifySans, -apple-system, BlinkMacSystemFont, sans-serif;
[class*='heading--'] {
word-break: keep-all;
}
}
🙇🏻