W3CW3C Internationalization (I18n) Activity: Making the World Wide Web truly world wide!

Icons

W3C W3C resource, approved by consensus. (Includes Working Drafts.)

Non-W3C Non-W3C resource or W3C resource that is not yet approved by consensus.

Non-W3C Recommended technique.

Internationalization Techniques:
Authoring HTML & CSS

This page lists links to resources on the W3C Internationalization Activity site and elsewhere that help you author HTML and CSS for internationalization. It is one of several techniques pages. A dynamic version of this page is also available, to help you get an overview and drill down quickly to what you need.

Although the page title refers to 'authoring', it is also relevant to HTML that is produced by scripts and tools, and that may be derived from an authored document in a different format (such as an XML file).

On this page: CharactersLanguageMarkup & textText directionStyling & layoutFormsNavigationCultural issuesTroubleshooting

Characters

Getting started

Background information

Choosing and applying a character encoding

How to's
Useful reference links
Background reading
  • What is the 'Document Character Set' for XML and HTML, and how does it relate to the encodings I use for my documents?

Other references

Changing to UTF-8

How to's
Background reading
  • What is the 'Document Character Set' for XML and HTML, and how does it relate to the encodings I use for my documents?

Declaring the character encoding for HTML

How to's
Useful reference links
Background reading
  • Introduces doctypes, mime-types, and the influence of standards- vs. quirks-mode on character encoding declarations.

Other links

Declaring the character encoding for a CSS style sheet

See also
How to's
Useful reference links
Other links

Using escapes to represent characters

How to's
Useful reference links
Other links

Checking the encoding of a document

How to's
Useful reference links

Handling the byte-order mark (BOM)

How to's
Useful reference links
Other links
  • Gathers together and organizes pointers to articles that, taken together, help you understand how to handle the essential aspects of authoring (X)HTML and CSS related to characters and character encodings.

Handling normalization

How to's
Useful reference links

Using Unicode control codes in text

How to's

Using non-ASCII web addresses

Background reading
Useful reference links
Other links

Language

Getting started

Background information

Declaring the primary language of a page

How to's
Background reading
Other references
Tests

Identifying in-document language changes

How to's
Background reading
Other references

Choosing language values

How to's
Useful reference links
Other references

Declaring metadata about the language(s) of the intended audience

How to's
Background reading
Other references

Declaring language for documents aimed at speakers of more than one language

How to's
Background reading
Other references
  • Content-Language in the HTTP1.1 specification (section 14.12)

Indicating the language of a link destination

How to's
Other references
  • hreflang in the HTML spec (section 12.2)

Test data

Using Accept-Language for locale setting

How to's

Markup & text

Getting started

Background information

Working with composite strings and string re-use

How to's
Non-W3C references

Using ruby markup

How to's
  • Overview of the Ruby Annotation specification (in W3C tutorial, Ruby Markup and Styling)

Background reading
  • What is 'ruby'?

  • Useful information about ruby in general (Ken Lunde's book, CJKV Information Processing, ISBN 1-56592-224-7, especially chapters 6 and 7)

Other references
Test data
  • W3C test pages

  • Description of support for ruby markup and styling in browsers (in W3C tutorial, Ruby Markup and Styling)

Using Unicode control codes in text

How to's

Working around unavailable characters/glyphs

How to's

Text direction

Getting started

Background information

Setting direction on block elements

How to's
Spec links
Tests

Managing text direction in form controls

How to's
Spec links
Tests

Mixing text direction inline

How to's
Spec links
Tests

Handling parentheses and other mirrored characters

How to's

Overriding the Unicode bidirectional algorithm

How to's
Spec links
Tests

Styling & layout

Getting started

Background information

Preparing for text expansion

How to's
  • How can I ensure that when text expands in translation the background images will still work?

Background reading
  • Overview of text expansion issues.

  • Do I need to worry because display capabilities (screen sizes, number of colors, etc.) of computers vary in other countries?

Styling by language

How to's
Other references
Test data

Numbering lists

Other references
  • Preview of upcoming proposals for CSS3. In W3C article, CSS3 and International Text.

Test data

Creating vertical text

Other references
  • Preview of upcoming proposals for CSS3. In W3C article, CSS3 and International Text.

Managing line breaks

Other references
  • Preview of upcoming proposals for CSS3. In W3C article, CSS3 and International Text.

Test data

Justifying and aligning text

Other references
  • Preview of upcoming proposals for CSS3. In W3C article, CSS3 and International Text.

  • Preview of upcoming proposals for CSS3. In W3C article, CSS3 and International Text.

Test data

Styling ruby text

How to's
  • Introduction to styling ruby with CSS3 Ruby Module. In W3C article, Ruby Markup and Styling.

Background reading
  • What is 'ruby'?

  • Useful information about ruby in general (Ken Lunde's book, CJKV Information Processing, ISBN 1-56592-224-7, especially chapters 6 and 7)

Other references
  • Preview of upcoming proposals for CSS3. In W3C article, CSS3 and International Text.

  • W3C Working Draft

Applying various script-specific typographic conventions

Other references
  • Preview of upcoming proposals for CSS3. In W3C article, CSS3 and International Text.

  • Preview of upcoming proposals for CSS3. In W3C article, CSS3 and International Text.

  • Preview of upcoming proposals for CSS3. In W3C article, CSS3 and International Text.

Forms

Getting started

Background information

Handling encoding issues

How to's
  • What is the best way to deal with encoding issues in forms that may use multiple languages and scripts?

Working with names

Recommendations
How to's
  • How do people's names differ around the world, and what are the implications of those differences on the design of forms, databases, ontologies, etc. for the Web?

Managing text direction in form controls

How to's
Spec links
Tests

Sorting select lists

How to's
  • As part of a form, I have a list of terms in a drop-down box. Why are they not correctly sorted when I translate the items in the list?

Cultural issues

Working with date formats

How to's
  • How do I prepare my web pages to display varying international date formats?

Sorting data

How to's
  • As part of a form, I have a list of terms in a drop-down box. Why are they not correctly sorted when I translate the items in the list?

Troubleshooting

Blank lines on a page

How to's
  • When using UTF-8 encoded pages, I get an extra line or unwanted characters at the top of my web page or included file. I think it might be connected to the BOM (byte-order mark). How do I check this?

Changing the encoding of a page in an editor

How to's

Setting & changing browser language preferences

How to's

Loss of spacing between RTL and LTR text

How to's
  • Why does my browser collapse spaces between Latin and Arabic/Hebrew text?

Checking the encoding of a document

How to's
Links

Contact: Richard Ishida (ishida@w3.org).

Content last changed 2013-05-08 20:04 GMT