Table of Content - (40 min.)
-
(0.5 min.) Cover
-
(2 min.) Overview:
-
What's XUL
-
Its advantages
-
Localizability issues of markup language
-
The solution: how to localize it
-
Finally, we'll discuss how to ensure the localizability of XUL documents.
-
(2 min ) Why do we choose XUL ( - XUL’s Advantages)
-
Scriptable
-
Cross-platform.
-
Customizable->Localizable->Changing the UI on the fly -> demo.
-
Live Demo ->Dynamic switching - Addressbook
-
en-US ->da-DK (by Hennrik Lynggaard Hansen from Denmark)
-
da-DK ->en-US
-
en-US ->Traditional Chinese
-
(10 min.) How do I do it? Let's look at what is
inside XUL first! (by samples; the dialog.)
-
(1 min.) XML declarations
-
(1 min.) UI elements and tags.
-
(1 min.) HTML markups.
-
(1 min.) Style and layout.
-
(1 min.) Script functions.
-
(4 min.) Chrome URLs - configurable chrome
(the
table)
-
(1 min) Localizability issues
-
Locale sensitive data is hard to separate from the rest of the document.
-
Markup tags are often translated or damaged in the process of localization.
-
(1 min) Criteria of the solution-title only;
summarize it. See Appendix for details :-)
-
(2 min) Localizability solutions. Jump to the
final decision - "XUL + Language-specific DTD".
-
(15 min.) What/how to localize?
-
(5 min) What resources are localizable?
-
Widget resources
-
All texts in the graphical user interface are localizable.
-
URLs to localizable images.
-
Content data.
-
Style information such as font, size, and color, may need to be localized.
-
The geometric layout.
-
(6 min) Ensuring the localizability - XUL Coding
Style
Guidelines.
-
Convert HTML files to XUL files.
-
Externalize text entities, Style sheet, and JavaScript
functions.
-
UTF-8 encoding. Most of the widgets support unicode display.
-
Chrome URLs.
-
(3 min.) Conclusions.
-
(2 min) References.
-
Mozilla Org. XPToolkits.
-
Newsgroups:
-
news://news.mozilla.org/netscape.public.mozilla.xpfe
-
news://news.mozilla.org/netscape.public.mozilla.i18n.
-
(10 min.) Live Demo
-
The browser window - Pseudo Localized Browser window
-
UI strings
-
Skin -color
-
locale - provider name
-
JS function - QA | Language
-
(0-5 min.) Q/A
-
?
-
Links
-
Mozilla Nightly
-
Latest
builds (M8, M8.5)
-
ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/
; Cyberbit.ZIP
-
ControlPanel->Add/Remove Programs Properties->Multilanguage Support
-
Keyboard: Fn + F4