-
Notifications
You must be signed in to change notification settings - Fork 266
/
Copy pathmeaning-other-lang-id.xml
150 lines (150 loc) · 9.55 KB
/
meaning-other-lang-id.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE div2
SYSTEM "../xmlspec.dtd">
<div2 role="extsrc" id="meaning-other-lang-id">
<head>3.1.2</head>
<div3 role="intent">
<head>Intent of this Success Criterion</head>
<p>The intent of this Success Criterion is to ensure that user agents can correctly present content written in multiple languages. This makes it possible for user agents and assistive technologies to present content according to the presentation and pronunciation rules for that language. This applies to graphical browsers as well as screen readers, braille displays, and other voice browsers.</p>
<p>Both assistive technologies and conventional user agents can render text more accurately if the language of each passage of text is identified. Screen readers can use the pronunciation rules of the language of the text. Visual browsers can display characters and scripts in appropriate ways. This is especially important when switching between languages that read from left to right and languages that read from right to left, or when text is rendered in a language that uses a different alphabet. Users with disabilities who know all the languages used in the Web page will be better able to understand the content when each passage is rendered appropriately. </p>
<p>When no other language has been specified for a phrase or passage of text, its human language is the default human language of the Web page (see Success Criterion 3.1.1). So the human language of all content in single language documents can be programmatically determined. </p>
<p>Individual words or phrases in one language can become part of another language. For example, "rendezvous" is a French word that has been adopted in English, appears in English dictionaries, and is properly pronounced by English screen readers. Hence a passage of English text may contain the word "rendezvous" without specifying that its human language is French and still satisfy this Success Criterion. Frequently, when the human language of text appears to be changing for a single word, that word has become part of the language of the surrounding text. Because this is so common in some languages, single words should be considered part of the language of the surrounding text unless it is clear that a change in language was intended. If there is doubt whether a change in language is intended, consider whether the word would be pronounced the same (except for accent or intonation) in the language of the immediately surrounding text.
</p>
<p>Most professions require frequent use of technical terms which may originate from a foreign language. Such terms are usually not translated to all languages. The universal nature of technical terms also facilitate communication between professionals.</p>
<p>Some common examples of technical terms include: Homo sapiens, Alpha Centauri, hertz, and habeas corpus.</p>
<p>Identifying changes in language is important for a number of reasons:
</p>
<ulist>
<item>
<p>It allows braille translation software to follow changes in language, e.g., substitute control codes for accented characters, and insert control codes necessary to prevent erroneous creation of Grade 2 braille contractions.</p>
</item>
<item>
<p>Speech synthesizers that support multiple languages will be able to speak the text in the appropriate accent with proper pronunciation. If changes are not marked, the synthesizer will try its best to speak the words in the default language it works in. Thus, the French word for car, "voiture" would be pronounced "voyture" by a speech synthesizer that uses English as its default language. </p>
</item>
<item>
<p>Marking changes in language can benefit future developments in technology, for example users who are unable to translate between languages themselves will be able to use machines to translate unfamiliar languages. </p>
</item>
<item>
<p>Marking changes in language can also assist user agents in providing definitions using a dictionary. </p>
</item>
</ulist>
<div4 role="benefits">
<head>Benefits of this Success Criterion</head>
<p>This Success Criterion helps:</p>
<ulist>
<item>
<p>people who use screen readers or other technologies that convert text into synthetic speech;</p>
</item>
<item>
<p>people who find it difficult to read written material with fluency and accuracy, such as recognizing characters and alphabets, decoding words, and understanding words and phrases;</p>
</item>
<item>
<p>people with certain cognitive, language and learning disabilities who use text-to-speech software;
</p>
</item>
<item>
<p>people who rely on captions to recognize language changes in the soundtrack of synchronized media content.</p>
</item>
</ulist>
</div4>
</div3>
<div3 role="examples">
<head>Examples for this Success Criterion</head>
<olist>
<item>
<p>
<emph role="bold">A German phrase in an English sentence. </emph>
</p>
<p>In the sentence, "He maintained that the DDR (German Democratic Republic) was just a '<phrase xml:lang="de">Treppenwitz der Weltgeschichte</phrase>'," the German phrase '<phrase xml:lang="de">Treppenwitz der Weltgeschichte</phrase>' is marked as German. Depending on the markup language, English may either be marked as the language for the entire document except where specified, or marked at the paragraph level. When a screen reader encounters the German phrase, it changes pronunciation rules from English to German to pronounce the word correctly.</p>
</item>
<item>
<p>
<emph role="bold">Alternative language links</emph>
</p>
<p>An HTML Web page includes links to versions of the page in other languages (e.g., Deutsch, Français, Nederlands, Castellano, etc.). The text of each link is the name of the language, in that language. The language of each link is indicated via a <code><![CDATA[lang]]></code> attribute.
</p>
</item>
<item>
<p>
<emph role="bold">"Podcast" used in a French sentence.</emph>
</p>
<p>Because "podcast" is part of the vernacular of the immediately surrounding text in the following excerpt, "<phrase xml:lang="fr">À l'occasion de l'exposition "Energie éternelle. 1500 ans d'art indien", le Palais des Beaux-Arts de Bruxelles a lancé son premier podcast. Vous pouvez télécharger ce podcast au format M4A et MP3</phrase>," no indication of language change is required.</p>
</item>
</olist>
</div3>
<div3 role="resources">
<head>Resources for this Success Criterion </head>
<ulist>
<item>
<p>
<loc href="http://www.w3.org/International/articles/language-tags/Overview.en.php">Language tags in HTML and XML</loc> - W3C Internationalization Working Group</p>
</item>
<item>
<p>
<loc href="http://www.w3.org/TR/i18n-html-tech-lang/">Internationalization Best Practices: Specifying Language in XHTML & HTML Content</loc>
</p>
</item>
<!--item>
<p>
<loc href="http://www.who.int/classifications/icf/site/onlinebrowser/icf.cfm?parentlevel=3&childlevel=4&itemslevel=4&ourdimension=d&ourchapter=1&ourblock=2&our2nd=40&our3rd=0&our4th=0">d140 Learning to read</loc>. 2001. International Classification of Functioning, Disabilities, and Health. World Health Organization</p>
</item-->
</ulist>
</div3>
<div3 role="techniques">
<head>Techniques for Addressing Success Criterion 3.1.2</head>
<div4 role="sufficient">
<head/>
<olist>
<item>
<p>
<loc href="H58" linktype="html">Using the lang attribute to identify changes in the human language</loc>
</p>
</item>
<item>
<p>
<loc href="FLASH13"
linktype="flash">Using HTML language attributes to specify language in Flash content</loc>
</p>
</item>
<item>
<p>
<loc href="PDF19" linktype="pdf"/>
</p>
</item>
<item>
<p>
<loc href="SL4"
linktype="silverlight"/>
</p>
</item>
</olist>
</div4>
<div4 role="tech-optional">
<head>Additional Techniques (Advisory) for 3.1.2</head>
<ulist>
<item>
<p>
<loc href="SL27"
linktype="silverlight"/>
</p>
</item>
<item>
<p>
Making text that is not in the default human language of the Web page visually distinct (future link)
</p>
</item>
<item>
<p>
Giving the names of any languages used in foreign passages or phrases (future link)
</p>
</item>
<item>
<p>Providing language markup on proper names to facilitate correct pronunciation by screen readers (future link) </p>
</item>
</ulist>
</div4>
<div4 role="failures">
<head/>
</div4>
</div3>
</div2>