Web Content internationalization

Slides:



Advertisements
Similar presentations
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
Advertisements

Cascading Style Sheets
Introduction to CSS.
Cascading Style Sheets. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. CSS is a.
1 Web Developer & Design Foundations with XHTML Chapter 9 Key Concepts.
CSS BASICS. CSS Rules Components of a CSS Rule  Selector: Part of the rule that targets an element to be styled  Declaration: Two or more parts: a.
Chapter 8 Creating Style Sheets.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Using Cascading Style Sheets CSS Basics. Goals Understand basic syntax of Cascading Style Sheets (CSS) Understand basic syntax of Cascading Style Sheets.
XP 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
Using Cascading Style Sheets CSS Structure. Goals Understand how contextual, class and ID selectors work Understand how contextual, class and ID selectors.
Working with Cascading Style Sheets. 2 Objectives Introducing Cascading Style Sheets Using Inline Styles Using Embedded Styles Using an External Style.
Developing a Basic Web Page with HTML
Web Content internationalization & E-Publication Presentation by : Prashant Verma, W3C India 1.
Using Cascading Style Sheets. Introduction to Styles and Properties  Cascading Style Sheets (CSS) are a standard set by the World Wide Web Consortium.
XP Tutorial 7New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks.
HTML Essentials Markup ( Part I ). Why Markup ? Markup gives meaning and structure to your web page Creates a relationship between the elements.
Today’s objectives  Complete web page  Using xhtml & CSS  Adding CSS to documents Embed url(File);  CSS.
Lesson 4: Using HTML5 Markup.  The distinguishing characteristics of HTML5 syntax  The new HTML5 sectioning elements  Adding support for HTML5 elements.
1 CS 502: Computing Methods for Digital Libraries Lecture 4 Text.
Today’s objectives  Presentational | Inline | Block | Validate  CSS | Rules | Declarations.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
XML eXtensible Markup Language. Topics  What is XML  An XML example  Why is XML important  XML introduction  XML applications  XML support CSEB.
Professor Waterman Cascading Style Sheets (CSS) is a language that works with HTML documents to define the way content is presented. The presentation.
SDPL 2002Notes 4: Intro to Style Sheets1 4. Introduction to Style Sheets n Discussed recently: –Programmatic manipulation of documents n Now a more human-oriented.
CNIT 132 – Week 4 Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of.
Microsoft Expression Web 3 – Illustrated Unit D: Structuring and Styling Text.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 3 Introducing Cascading Style Sheets.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML.
XP Tutorial 7New Perspectives on HTML and XHTML, Comprehensive 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
Web Accessibility. Why accessibility? "The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect."
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
Getting Started with HTML
Working with Cascading Style Sheets
Web Basics: HTML/CSS/JavaScript What are they?
Getting Started with CSS
CS3220 Web and Internet Programming CSS Basics
HTML5 and CSS3 Illustrated Unit D: Formatting Text with CSS
Formatting Text with CSS
CSS: Cascading Style Sheets
Working with Tables: Module A: Table Basics
Introduction to HTML.
Cascading Style Sheets
Cascading Style Sheets
W3C Web standards and Recommendations
Madam Hazwani binti Rahmat
Using Cascading Style Sheets Module B: CSS Structure
Introduction to XHTML.
IS333: MULTI-TIER APPLICATION DEVELOPMENT
CSS Cascading Style Sheets
Chapter 13 Web Editing © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
Cascading Style Sheets - Building a stylesheet
Introduction to CSS.
Software Engineering for Internet Applications
Cascading Style Sheets
What are Cascading Stylesheets (CSS)?
Cascading Style Sheets™ (CSS)
Training & Development
Tutorial 3 Working with Cascading Style Sheets
CS3220 Web and Internet Programming CSS Basics
Exercise 9 Skills You create and use styles to create formatting rules that can easily by applied to other pages in the Web site. You can create internal.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
CS3220 Web and Internet Programming CSS Basics
Cascading Style Sheets - Building a stylesheet
Cascading Style Sheets
Lesson 2: HTML5 Coding.
5.00 Apply procedures to organize content by using Dreamweaver. (22%)
CGS 3066: Web Programming and Design Fall 2019
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Presentation transcript:

Web Content internationalization & E-Publication Presentation by : Somnath Chandra & Prashant Verma, W3C India E-mail : somnath@w3.org; vermaprashant1@gmail.com

History Proposed in 1994 by Hakon Wiem Lie. Standardized in 1996. W3C Recommendation in 1998. Revised spec, CSS 2.1 agreed upon in 2001. Presently working on CSS level 3.

Usage of CSS To explain the presentation of a document written in a markup language Separation of content and presentation allows Adaptation to viewing environment, special devices, users Better management of web sites (makes it cheaper, too...) CSS is implemented by all major browsers

CSS in web Technology HTML/XHTML marks the content up into different structural types, like paragraphs, blocks, lists, images, tables, forms, comments etc. CSS Tells the browser how each type of element should be displayed, which may vary for different media (like screen, print or handheld device) JavaScript Tells the browser how to change the web page in response to events that happen (like clicking on something, or changing the value in a form input

CSS Internationalization Line-breaking White space Text-transform Text direction Ruby Selectors Character encoding Fonts Language declarations Lists Baseline alignment Internationalization of CSS

Issues in CSS Vertical & Horizontal Alignment arrangements of characters Presentation / Styling issues: Vertical arrangement of characters If some string is written in vertical mode, then writing each character on a new line may not be suitable, In case of horizontal alignment of characters, the space is given between the every character in case of English. But in case of Indian language like Bangla, Assamese etc the space may given not in every character but after some portion of the character sequence as in above figure.

Underlining of the characters There is some examples of Indian languages in which Matra’s are not readable due to underlining of characters : Hindi - अन्य भाषाओं में भी अनुवाद Punjabi ਗੁਰੂ Bengali :তাই পুরোনো আর্কাইভ একটু ওলট পালট। Guajarati - સરદાર ગુર્જરી  Marathi- मराठी मुला मुलींची नावे p {text-decoration: underline;font-size:15px;} // http://www.w3.org/TR/CSS2/text.html 16.3.1 Hindi Punjabi

Over lining of the characters Issues with respect to languages like Hindi, bangle, Punjabi, Malayalam, Tamil, Oriya p {text-decoration: overline;font-size:15px;} // http://www.w3.org/TR/CSS2/text.html 16.3.1

line-through of the characters Issues finds in language like Punjabi, Guajarati, Malayalam, Kannada p {text-decoration: line-through; font-size:15px;} // http://www.w3.org/TR/CSS2/text.html 16.3.1 In Hindi it is showing properly but in Punjabi the line is coming in the bottom of characters Hindi Punjabi

first letter pseudo-element p:first-letter { font-size: 3em; font-weight: normal } // www.w3.org/TR/CSS2/selector.html 5.12.2 Hindi Punjabi Telugu Malayalam

EPUBLISHING

Relationship of Open Publication Structure (OPS) with W3C Standards Open Publication Structure (idpf) CSS XML SVG XHTML Unicode

Relationship with CSS The CSS-based style sheet constructs in this specification define required rendering functionality. To minimize the burden on Reading System developers and device manufacturers, not all CSS 2 properties are included. A few additional properties and values have been added to support page layout, headers, and footers. Style sheets may be associated with an OEBPS Document in several ways: by style elements within the XHTML header; by an external style sheet identified on a link elements in the XHTML head; and/or by an external style sheet identified via the processing instruction xml-stylesheet

Minimal Requirements on EPUB for Hindi Text Layout Support of Unicode 6.0 and CLDR UNICODE : is the Universal character encoding standard, used for representing text for information processing. Unicode encodes all of the individual characters used for all the written languages of the world. Common Locale Data Repository : is the largest standard repository of locale data in the world. It is a part of the W3C and Unicode Standard. It provides locale data like Date formats, time zones, Number formats, Measurements system, currency etc in an XML format for use in computer applications. 2. Fonts Open Type Fonts :Open Type fonts convert the Unicode code numbers to their glyphs on the display interface. SVG Fonts :The purpose of SVG fonts is to allow for delivery of glyph outlines in display-only environments. WOFF (Web Open font format): This format was designed to provide lightweight, easy-to-implement compression of the font data, suitable for use in conjunction with the @font-face CSS declaration.

Page Text Layout Requirement Arrangement of Running Heads and Page Numbers Positioning of all running heads and page numbers in the same book should be consistent. The following ways might be used for positioning running heads and page numbers in horizontal writing system:

Positioning of Consecutive Opening Brackets, Closing Brackets, Commas, Purna virama etc. Vertical writing and horizontal writing Mixed Text Composition in Horizontal Writing Mode, e.g. मेरा India महान

Paragraph Adjustment Rules Mixed Text Composition in Vertical Writing Mode, e.g. मे रा I n d a म हा न Paragraph Adjustment Rules Line Head Indent at the Beginning of Paragraphs Widow Adjustment of Paragraphs

CSS Embedded fonts:

CSS Speech Module Requirements The CSS Speech module provides properties that enable authors to declaratively control presentational aspects of the aural dimension (e.g. TTS voice, pitch, rate, and volume levels). These style sheet properties can be used together with visual properties (mixed media) or as a complete aural alternative to a visual presentation. Examples are in-car use of an e-book reader, industrial and medical documentation systems, home entertainment, helping users to learn reading, or supporting users who have reading difficulties (print disabilities).

Properties Voice-Volume Voice-Balance Speak Speak-as Pause-Properties Rest-Properties Cue-Properties Voice Characteristic Properties voice-family voice-rate voice-pitch voice-range voice-stress voice-duration

Proposed solution: Modification in Unicode Standard Annex. UAX29 Unicode Text Segmentation UAX14 Unicode Line Breaking Algorithm UAX13 Unicode Newline Guidelines. UAX9 Unicode Bidirectional Algorithm UAX21 Case Mappings UAX31 Unicode Identifier and Pattern Syntax Review is in process We Have reviewed all this technical report and trying to make changes in all this annexure for resolving the styling issues of Indian languages. As some of the above issues are Browser dependent so we need to examine each issue in detail and find out the appropriate solution.

Solution for Styling of first letter pseudo-element Akshara : Definition of ABNF Valid Segmentation to overcome the limitation of some of the CSS Issues

Cont…

NEED OF REVIEW OF CSS FOR EPUBLISHING IN INDIAN LANGUAHES

Need to form Community Group of E-Pub in Indian languages Aim and Objectives of Community group The level of awareness and need of local language applications or software(s) among Publication & e-publication industry. To gather the information about the page text layout used by E-publishers for 12 major Indian languages (Hindi, Bangla, Punjabi, Gujarati, Marathi, Malayalam, Tamil, Telugu, Assamese, Oriya, Kannada, and Manipuri) The level and type of usage among these entities

Aim and Objectives of Community group (Contd…) Identify applications and areas are being used where new applications are required and there exists a large un-met need. To define the promotion and proliferation of w3c standards in publication industries. Identification of following Styling issues occur in E-Pub for Indian languages: -CSS -CSS Mobile -CSS Speech

W3C Japanese Layout Task Force -Similar group working for Japanese text layout for E-Publication Japanese Layout Task Force already produced a W3C recommendation contains requirements for Japanese text layout. This Task Force has discussed many issues and harmonized the requirements from user communities and solutions from technological experts. http://www.w3.org/TR/2011/WD-jlreq-20111129/

Survey Questionnaire W3C India prepared a questionnaire. Survey forms shall be collected from different organizations for 12 major languages (Hindi, Bangla, Punjabi, Gujarati, Marathi, Malayalam, Tamil, Telugu, Assamese, Oriya, Kannada, and Manipuri) and other remaining languages data as per the availability shall be collected. Final report should be prepared to clearly bring out an objective and concrete outcomes so as to use the same for future actions.  

W3C India welcomes your participation in this activity.

Thanks