Internationalization Please

Internationalization Please 🌐

What's the problem?

You use the web but dont think well, world is different out there.
Even world class project like bootstrap doesn't implement it. after 2 major version.
RTL problems 😫
Islamic Calendar ❓
Persian Calendar ❓

Who give sh*t?

Many good project know there are some place in the world use different direction and ui stuff. See more about CLDR and Intl.
CSS until born
Firefox
EcmaScript (JavaScript Intl)

What can we do?

Just consider the i18n stuff like rtl, different type of calendars, number format, currency and etc.
Learn stuff about i18n :D

Best practice?

Explore project like CLDR or many real world class UI project like, firefox, android UI and much more. I think they know much better about i18n.

We need much rewrite, patch, fork as another project?

Yes indeed, because you don't initial your project world class.

CSS sample:
          html {
            // global styles
          }
          html[dir=rtl] {
            // rtl special
          }
          html[dir=ltr] {
            // ltr special
          }
        

Problem #1 RTL (right to left)

If you don't consider right to left direction you will ignore the about 717,406,317 (9%) of world population in your design workflow.

Locale Language Country Population Is official language of country?
717,406,317 9% of 7,700,000,000
ur-PK ur Pakistan 194,678,750 95% of 204,925,000
ar-EG ar Egypt 91,218,634 94% of 97,041,100
ur-IN ur India 64,097,000 5% of 1,281,940,000
fa-IR fa Iran, Islamic Republic of 61,516,200 75% of 82,021,600
ar-DZ ar Algeria 30,317,356 74% of 40,969,400
ar-SA ar Saudi Arabia 28,571,800 100% of 28,571,800
ar-IQ ar Iraq 26,650,628 68% of 39,192,100
sd-PK sd Pakistan 24,591,000 12% of 204,925,000
ar-SD ar Sudan 22,780,999 61% of 37,345,900
ar-MA ar Morocco 21,071,754 62% of 33,986,700
ar-YE ar Yemen 20,747,232 74% of 28,036,800
fa-AF fa Afghanistan 17,062,400 50% of 34,124,800
ps-AF ps Afghanistan 14,673,664 43% of 34,124,800
ar-SY ar Syrian Arab Republic 14,422,800 80% of 18,028,500
ar-TN ar Tunisia 10,263,420 90% of 11,403,800
ar-JO ar Jordan 10,248,100 100% of 10,248,100
he-IL he Israel 8,299,710 100% of 8,299,710
ug-CN ug China 7,586,150 0.55% of 1,379,300,000
ar-LB ar Lebanon 5,357,619 86% of 6,229,790
ar-LY ar Libya 4,923,375 74% of 6,653,210
ar-AE ar United Arab Emirates 4,736,534 78% of 6,072,480
ar-PS ar Palestine, State of 4,543,130 100% of 4,543,130
ku-TR ku Turkey 4,446,486 5.5% of 80,845,200
ar-SO ar Somalia 3,750,676 34% of 11,031,400
ar-SS ar South Sudan 3,517,047 27% of 13,026,100
ar-MR ar Mauritania 3,194,784 85% of 3,758,570
ar-KW ar Kuwait 2,875,420 100% of 2,875,420
ar-OM ar Oman 2,773,756 81% of 3,424,390
ar-QA ar Qatar 2,059,736 89% of 2,314,310
ar-TD ar Chad 2,052,920 17% of 12,076,000
ar-IL ar Israel 1,659,942 20% of 8,299,710
ar-BH ar Bahrain 1,227,518 87% of 1,410,940
ar-EH ar Western Sahara 603,253 100% of 603,253
ar-KM ar Comoros 533,333 66% of 808,080
ar-ER ar Eritrea 290,027 4.9% of 5,918,920
ar-DJ ar Djibouti 63,164 7.3% of 865,267

Problem #2 different type of calendars

If you don't consider different type of calendars you're miss might be affected about 3,576,653,474 (46%) of world population by different type of calendar usage.

Many people around the world use multiple calendars for any perpose such as official, historical or etc events.

Country Population Calendar types Is non-georgian as first calendar?
3,576,653,474 46% of 7,700,000,000
AE United Arab Emirates 6,072,480 gregorian, islamic-umalqura, islamic, islamic-civil, islamic-tbla
AF Afghanistan 34,124,800 persian, gregorian, islamic, islamic-civil, islamic-tbla
BH Bahrain 1,410,940 gregorian, islamic-umalqura, islamic, islamic-civil, islamic-tbla
CN China 1,379,300,000 gregorian, chinese
CX Christmas Island 2,205 gregorian, chinese
DJ Djibouti 865,267 gregorian, islamic, islamic-civil, islamic-tbla
DZ Algeria 40,969,400 gregorian, islamic, islamic-civil, islamic-tbla
EG Egypt 97,041,100 gregorian, coptic, islamic, islamic-civil, islamic-tbla
EH Western Sahara 603,253 gregorian, islamic, islamic-civil, islamic-tbla
ER Eritrea 5,918,920 gregorian, islamic, islamic-civil, islamic-tbla
ET Ethiopia 105,350,000 gregorian, ethiopic
HK Hong Kong 7,191,500 gregorian, chinese
IL Israel 8,299,710 gregorian, hebrew, islamic, islamic-civil, islamic-tbla
IN India 1,281,940,000 gregorian, indian
IQ Iraq 39,192,100 gregorian, islamic, islamic-civil, islamic-tbla
IR Iran, Islamic Republic of 82,021,600 persian, gregorian, islamic, islamic-civil, islamic-tbla
JO Jordan 10,248,100 gregorian, islamic, islamic-civil, islamic-tbla
JP Japan 126,451,000 gregorian, japanese
KM Comoros 808,080 gregorian, islamic, islamic-civil, islamic-tbla
KR Korea, Republic of 51,181,300 gregorian, dangi
KW Kuwait 2,875,420 gregorian, islamic-umalqura, islamic, islamic-civil, islamic-tbla
LB Lebanon 6,229,790 gregorian, islamic, islamic-civil, islamic-tbla
LY Libya 6,653,210 gregorian, islamic, islamic-civil, islamic-tbla
MA Morocco 33,986,700 gregorian, islamic, islamic-civil, islamic-tbla
MO Macao 601,969 gregorian, chinese
MR Mauritania 3,758,570 gregorian, islamic, islamic-civil, islamic-tbla
OM Oman 3,424,390 gregorian, islamic, islamic-civil, islamic-tbla
PS Palestine, State of 4,543,130 gregorian, islamic, islamic-civil, islamic-tbla
QA Qatar 2,314,310 gregorian, islamic-umalqura, islamic, islamic-civil, islamic-tbla
SA Saudi Arabia 28,571,800 islamic-umalqura, gregorian, islamic, islamic-rgsa
SD Sudan 37,345,900 gregorian, islamic, islamic-civil, islamic-tbla
SG Singapore 5,888,930 gregorian, chinese
SY Syrian Arab Republic 18,028,500 gregorian, islamic, islamic-civil, islamic-tbla
TD Chad 12,076,000 gregorian, islamic, islamic-civil, islamic-tbla
TH Thailand 68,414,100 buddhist, gregorian
TN Tunisia 11,403,800 gregorian, islamic, islamic-civil, islamic-tbla
TW Taiwan, Province of China 23,508,400 gregorian, roc, chinese
YE Yemen 28,036,800 gregorian, islamic, islamic-civil, islamic-tbla