Towards the Promised Land:
Globalization Developments in Web Standards
Towards the Promised Land: Globalization Developments in Web - - PowerPoint PPT Presentation
Towards the Promised Land: Globalization Developments in Web Standards Richard Ishida and Addison Phillips W3C Internationalization Activity Vastly improved or room for improvement? Why the promised land? The promise of a
Towards the Promised Land:
Globalization Developments in Web Standards
Vastly improved or room for improvement?
The promise of a multilingual Web is being realized and new W3C specifications help demonstrate that. … but we’ve been waiting a long time.
Many features we’ll talk about today are not implemented yet or are partially implemented. Many features are implemented.
Web?
problems?
What do we mean by "HTML5"
Characters
Language Date & time Bidirectional text CSS3: Global ready presentation JavaScript Widgets and Web apps Best practicesاقح ةّيملاع ةّيملاعلا بيولا ةكبش لعج!
بو ﯽﺎﮫ ار ﯽ ﯽﺎﮫ ﻢزﺎﺳ! انبانببب یاع پ ر ی ق یق و بیبو یاع Համաշխարհային ցանցն իրոք համաշխարհային դարձնելը ᑖᑦᓱᒪ ᐃᑭᐊᖅᑭᕕᒃ ᓯᓚᕐᔪᐊᓕᒫᒥᒃ ᓈᕆᑎᑉᐹ. "Дүниежүзілік торды" нағыз дүниежүзілік етеміз! वल्ड वाई् वेबलाई यथाथड्म ववयााप बनाउने ! የዓለም አቀፉን ድር በእውነት አለም አቀፍ ማድረግ! Κάνοντας τον Παγκόσμιο Ιστό πραγματικά Παγκόσμιο ਵਰਡ ਵਾਈਡ ਵੈਬ ਨ ਵਾਵਈ ਈਵਿਵ-ਈਵਆਪੀ ਬਨਾਉਣਾ ! 缔造真正全球通行的万维网 תמאב תימלוע ללכ תשר תשרהמ רוציל! ˈmeɪkɪŋ ðə wɜːld waɪd wɛb ˈtruːlɪ ˈwɜːldˈwaɪd ワールド・ワイド・ウェッブを世界中に広げましょう េធឲ្េេល វ េេ វ វ៉បមានទូទំទេិភទលភពិ្ប! 전세계의 월드 와이드 웹으로 만들기! Gwneud y we fyd-eang yn wirioneddol fyd-eang! การทําให World Wide Web แพรหลายไปทั่วโลกอยางแทจริง འཛམ་ིང་ཡོངས་འེལ་འདི་ ངོ་མ་འབད་རང་ འཛམ་ིང་ཡོངས་་བ་གསཔ་བཟོ་བ།"The Path W3C follows to making text on the Web truly global is Unicode."
Tim Berners-Lee Unicodeاقح ةّيملاع ةّيملاعلا بيولا ةكبش لعج!
بو ﯽﺎﮫ ار ﯽ ﯽﺎﮫ ﻢزﺎﺳ! انبانببب یاع پ ر ی ق یق و بیبو یاع Համաշխարհային ցանցն իրոք համաշխարհային դարձնելը ᑖᑦᓱᒪ ᐃᑭᐊᖅᑭᕕᒃ ᓯᓚᕐᔪᐊᓕᒫᒥᒃ ᓈᕆᑎᑉᐹ. "Дүниежүзілік торды" нағыз дүниежүзілік етеміз! वल्ड वाई् वेबलाई यथाथड्म ववयााप बनाउने ! የዓለም አቀፉን ድር በእውነት አለም አቀፍ ማድረግ! Κάνοντας τον Παγκόσμιο Ιστό πραγματικά Παγκόσμιο ਵਰਡ ਵਾਈਡ ਵੈਬ ਨ ਵਾਵਈ ਈਵਿਵ-ਈਵਆਪੀ ਬਨਾਉਣਾ ! 缔造真正全球通行的万维网 תמאב תימלוע ללכ תשר תשרהמ רוציל! ˈmeɪkɪŋ ðə wɜːld waɪd wɛb ˈtruːlɪ ˈwɜːldˈwaɪd ワールド・ワイド・ウェッブを世界中に広げましょう េធឲ្េេល វ េេ វ វ៉បមានទូទំទេិភទលភពិ្ប! 전세계의 월드 와이드 웹으로 만들기! Gwneud y we fyd-eang yn wirioneddol fyd-eang! การทําให World Wide Web แพรหลายไปทั่วโลกอยางแทจริง འཛམ་ིང་ཡོངས་འེལ་འདི་ ངོ་མ་འབད་རང་ འཛམ་ིང་ཡོངས་་བ་གསཔ་བཟོ་བ། Unicode on the Web Other UTF-8 ASCI IPolyglot documents
< ?xml version= "1.0" encoding= "utf-8"?> < !DOCTYPE html> < html lang= "en" xml:lang= "en" xmlns= "http://www.w3.org/1999/xhtml"> < head> < meta charset= "utf-8" /> < /head> ...✘
UTF-16 documents
< DOCTYPE html> < html> < head> < meta charset= utf-16> < /head> ...✘
charset attributes
✘ ✘
<h2><a id="რჩეული"> რჩეული ფოტოსურათი< /a></h1> <p><a href="/wiki/ჭიამაია" title="ჭიამაია" class="mw-redirect">ჭიამაია< /a> (Coccinellidae), ხოჭოების ოჯახს ეკუთვნის. აქვს ამობურცული, მომრგვალო ან ოვალური სხეული. ზურგზე ღია ფონზე შავი ლაქები აყრია, იშვიათად
... Unicode versions and ids
I◌́zeli◌́to◌̋u◌̈l
NFD
Ízelítőül
NFC
Ha a világ beszélni akarna, Unicode-ul szólalna meg. Regisztráljon már most a Tizedik Nemzetközi Unicode Konferenciára, melyet 1997. március 10-12-én rendeznek Meinz-ban, Németországban. Ezen a konferencián az iparág több neves szakértője is résztvesz. Ízelítőül a témákból: a világháló és a Unicode nemzetközisítése és lokalizálása, a Unicode alkalmazása működő rendszerekben és alkalmazásokban, szövegelrendezésnél, és többnyelvű számítógépeken.Normalization
Character Model for the World Wide Web
http://JP納豆.例.jp/dir1/引き割り.html Scheme Domain name Path
IDN
xn--jp-cd2fp15c.xn--fsq.jp
Web resource identifiers
IDN
Al-Saudiah Emarat Misr
ﺔﻳﺩﻮﻌﺴﻟﺍ ﺕﺍﺭﺎﻣﺍ رصم
Web resource identifiers
http://ﺮﺼﻣ.ﺕﻻﺎﺼﺗﻷﺍ-ﺓﺭﺍﺯﻭ
http://JP納豆.例.jp/dir1/引き割り.html Scheme Domain name Path
/dir1/%E5%BC%95%E3%81%8D%E5%89%B2%E3%82%8A.htmlIRI
Web resource identifiers
Language
Date & time Bidirectional text CSS3: Global ready presentation JavaScript Widgets and Web appsLanguage declarations
✘
Language declarations
locales
– Unicode Locales (RFC 6067)
– CSS selection
– Transliterations and transformations (Internet-Draft in Last Call)
BCP 47 improvements
Date & time
Bidirectional text CSS3: Global ready presentation JavaScript Widgets and Web apps Best practicesNew to HTML5
Locale sensitivity
– Date pickers not locale or language sensitive – No markup-based control over format – Time zone support is spotty
Bidirectional text
CSS3: Global ready presentation JavaScript Widgets and Web apps Best practices،ليودتلا طاشنW3C
W3C ،ليودتلا طاشن
Bidirectional text support
Bidi isolation for inserted text
< span dir= rtl>תיליל</span> - 5 reviews
< p> < bdi>תיליל</bdi> - 5 reviews< /p> Bidi isolation for inserted text
Determining direction at run time
✗
✓ ✗
Determining direction at run time
✗
Determining direction at run time
Other bidi changes
CSS3: Global ready presentation
JavaScript Widgets and Web apps Best practicesA ক
国
hanging alphabetic ideographicCSS3
Writing Mode
CSS3 has a new module for “writing mode” that supports vertical text. http:/ / www.w3.org/ TR/ css3-writing-modes/Vertical text
Vertical text
Vertical text
Ruby annotation
Ruby annotation
Requirements for Japanese Layout
ལ་ིར་བར་བའི་ལས་དོན།
នរជតូននិយកម
انبانببب یاع پ ر ی ق ی ق و ب
െതാര്
Web fonts
Web fonts
OpenType feature support by language
Zusätzlich erleichtert PLS die Eingrenzung von Anwendungen, indem es Aussprachebelang e von anderen Teilen der Anwendung abtrennt.
* { hyphens: auto; }
Zusätzlich er- leichtert PLS die Eingrenzung von Anwendungen, in- dem es Aussprac- hebelange von an- deren Teilen der Anwendung ab- trennt. Hyphenation
Hyphenation
starting to become available. – Still works best with embedded (server-side) hinting – Language support??
Still in flux… development neededThe q element < p> Some Norwegian text < q> More Norwegian< q> still more Norwegian< /q> < /q> .< /p>
Some Norwegian text «More norwegian "more norwegian"».
:lang(en) > * { quotes: '"' '"' "'" "'"; } :lang(no) > * { quotes: "«" "»" '"' '"' }The q element < p> Some Norwegian text < q> More Norwegian< q> still more Norwegian< /q> < /q> .< /p>
Some English text "Some norwegian «more norwegian»".
:lang(en) > * { quotes: '"' '"' "'" "'"; } :lang(no) > * { quotes: "«" "»" '"' '"' }JavaScript
Widgets and Web apps Best practicesJS-I18N extension work – Locales based on BCP 47 language tags – Date, number formatting – Collation – and more…
http:/ / wiki.ecmascript.org/ doku.php?id= strawman:i18n_apiJavascript gets a 'locale
Examples (Kindle Touch browser)
Widgets and Web apps
Best practicesapplications possible are under development. Some samples:
– IDL – Web sockets, Web storage, Web workers – XHR – Widgets – Selectors – File APIs – DOM
Webapps at W3C
The Widget Spec
– Extensive localization model – Ability to set base locale
<wi dge t xm l ns =ht t p: / / www. w3. or g/ ns / wi dge t s de f a ul t l oc a l e =“ e n” > <na m e s hor t =" W e a t he r " > W e a t he r ! a t ot a l l y a we s om e a ppl i c a t i on! </ na m e > <na m e s hor t ="ﺍﻮﻫ ﻭ ﺏﺁ " xm l : l a ng=" f a " di r =" r t l " > <s pa n di r =" l t r " xm l : l a ng=" e n" >W e a t he r ! </ s pa n> ﻪﻣﺎﻧﺮﺑ ﺎﻌﻗﺍﻭ گﺭﺰﺑ </ na m e > </ wi dge t >Webapps
A standard HTML5/ CSS3 Widget using P&CBest practices
Capturing guidance for spec developers and implementers (and you)
Tests
http://www.w3.org/International/ Internationalization resources
Creating HTML & CSS
I18n resources
Language
I18n resources
Choosing language values
I18n resources
I18n resources
I18n resources
http://validator.w3.org/i18n-checker/
1. Discover 2. Check
Checker tool
Getting involved…
Getting involved
The Web needs your help
this is your Web – not the W3C's we need You to make the Web worldwide get involved
Thank you http://www.w3.org/International/talks/1101-iuc35 /