Component Library

Language of Parts

Issue Description

The default human language of each passage, phrase, or interface element such as a language selection menu in the content cannot be programmatically determined, except for;

  • proper names
  • technical terms
  • words of indeterminate language
  • words or phrases that have become part of the vernacular of the immediately surrounding text


When content changes languages, clearly identify any changes in language on a page by using the <lang> or <xml:lang> attribute, as appropriate for the HTML or XHTML version you use (e.g. any blocks of text that are not in the language specified in the <doctype> attribute).

  • In language selection menus, make sure that each language option is coded with appropriate <lang> attributes.