// interfaces com
sotaques Imagens do livro "Abridores de Letras de Pernambuco"
Bruno LimaFront-end Developer & Designer
@ CESAR
#cesarnotdc
Bruno LimaFront-end Developer & Designer
Full Stack Designer@ CESAR
#cesarnotdc
i18nl10n
#cesarnotdc
i18nl10n
Internationalization
Localization
#cesarnotdc
bug do milênio
🐞
#cesarnotdc
99
#cesarnotdc
0099
#cesarnotdc
00991900
#cesarnotdc
0099190019100
#cesarnotdc
¿Qué?
#cesarnotdc
airgeadra
R$ ¥ $ € ل.ل
#cesarnotdc
airgeadra
R$ ¥ $ € ل.ل
100,00 2.656,10 25,60 22,55 35,16
#cesarnotdc
culture, symbols, icons and colors#cesarnotdc
culture, symbols, icons and colors#cesarnotdc
date, heure et chiffres
15/08/2019 8/15/19 15. 8. 2019 2019-08-15
#cesarnotdc
date, heure et chiffres
Brasil
USA
Croatia
France
15/08/2019 8/15/19 15. 8. 2019 2019-08-15
#cesarnotdc
date, heure et chiffres
Brasil
USA
Croatia
France!== fr
15/08/2019 8/15/19 15. 8. 2019 2019-08-15
#cesarnotdc
Why
#cesarnotdc
Expandir e diversificar
Competitividade internacional
Respeito
#cesarnotdc
Como?
#cesarnotdc
Design Unicode CSS RTL and LTR .po Intl
#cesarnotdc
PO FilesGettext
#cesarnotdc
# TDC Rec term #: index.php:23; msgid "The Developers Conference" msgstr "Conferência de Desenvolvedores"
pt_BR.po
#cesarnotdc
<?=__( 'The Developers Conference', 'tdc' )?>
index.php
#cesarnotdc
IntlEcmaScript Intl API
#cesarnotdc
const date = Date.now();
new Intl.DateTimeFormat('en-US').format(date); --> "10/12/2019"
new Intl.DateTimeFormat('pt-BR').format(date); --> "12/10/2019"
new Intl.DateTimeFormat('eu').format(date); --> "2019/10/12"
#cesarnotdc
const number = 123456.789;
new Intl.NumberFormat('de-DE', { style: 'currency', currency: 'EUR' }).format(number); --> "123.456,79 €"
new Intl.NumberFormat('ja-JP', { style: 'currency', currency: 'JPY' }).format(number); --> "¥123,457"
#cesarnotdc
Firefox 36+ Chrome 29+ Opera 16+ Safari 10+ IE 11+ Node.js 0.12+
#cesarnotdc