| 1 |
<svg version="1.1" baseProfile="tiny" id="svg-root" |
| 2 |
width="100%" height="100%" viewBox="0 0 480 360" |
| 3 |
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> |
| 4 |
<!--======================================================================--> |
| 5 |
<!--= SVG 1.1 2nd Edition Test Case =--> |
| 6 |
<!--======================================================================--> |
| 7 |
<!--= Copyright 2009 World Wide Web Consortium, (Massachusetts =--> |
| 8 |
<!--= Institute of Technology, European Research Consortium for =--> |
| 9 |
<!--= Informatics and Mathematics (ERCIM), Keio University). =--> |
| 10 |
<!--= All Rights Reserved. =--> |
| 11 |
<!--= See http://www.w3.org/Consortium/Legal/. =--> |
| 12 |
<!--======================================================================--> |
| 13 |
<d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" |
| 14 |
template-version="1.4" reviewer="SVGWG" author="Chris Lilley" status="accepted" |
| 15 |
version="$Revision: 1.6 $" testname="$RCSfile: struct-cond-02-t.svg,v $"> |
| 16 |
<d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/struct.html#ConditionalProcessing"> |
| 17 |
<p> |
| 18 |
This tests ability to use the 'systemLanguage' as a test attribute within a |
| 19 |
switch element. |
| 20 |
</p> |
| 21 |
</d:testDescription> |
| 22 |
<d:operatorScript xmlns="http://www.w3.org/1999/xhtml"> |
| 23 |
<p> |
| 24 |
Run the test. No interaction required. |
| 25 |
</p> |
| 26 |
</d:operatorScript> |
| 27 |
<d:passCriteria xmlns="http://www.w3.org/1999/xhtml"> |
| 28 |
<p> |
| 29 |
To pass, either the name (in English) of the current system language, or |
| 30 |
the names of the three languages (English, French and Japanese) of W3C |
| 31 |
must appear. The second case will occur if either the user language is |
| 32 |
not one of the (60 or so) languages present in the test, or if there is |
| 33 |
no user language information available. |
| 34 |
</p> |
| 35 |
<p> |
| 36 |
It is an error to display no output; the last child of switch has no test, so |
| 37 |
it will always be taken unless a more suitable child has already evaluated to true. |
| 38 |
</p> |
| 39 |
<p> |
| 40 |
In addition, the string "Why don't they just speak <language>" should appear |
| 41 |
in the center of the graphic, translated into that language. It is not an error for |
| 42 |
some or all of this string to display as 'missing character' glyphs, if no |
| 43 |
suitable font is available - however, this is unlikely if the language is indeed |
| 44 |
the users primary language. (It can easily occur during testing, however). |
| 45 |
</p> |
| 46 |
</d:passCriteria> |
| 47 |
</d:SVGTestCase> |
| 48 |
<title id="test-title">$RCSfile: struct-cond-02-t.svg,v $</title> |
| 49 |
<defs> |
| 50 |
<font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F"> |
| 51 |
<font-face-src> |
| 52 |
<font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/> |
| 53 |
</font-face-src> |
| 54 |
</font-face> |
| 55 |
</defs> |
| 56 |
<g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18"> |
| 57 |
<g fill="black" stroke="none" font-size="24" font-weight="normal" font-family="Arial, Tahoma, Verdana, 'Arial Unicode MS', Code2000"> |
| 58 |
<!-- a blank one |
| 59 |
<text x="20" y="220" xml:lang=""> |
| 60 |
<tspan font-weight="bold" > |
| 61 |
?</text> |
| 62 |
<text x="230" y="150" xml:lang="en"></text> |
| 63 |
--> |
| 64 |
<!-- put sample here for testing --> |
| 65 |
<switch> |
| 66 |
<g systemLanguage="af"> |
| 67 |
<text x="20" y="220" xml:lang="af" font-size="16">Waarom kan hulle nie net doodgewoon Afrikaans praat nie?</text> |
| 68 |
<text x="230" y="150" xml:lang="en">Afrikaans</text> |
| 69 |
</g> |
| 70 |
<g systemLanguage="am"> |
| 71 |
<text x="20" y="220" xml:lang="am" font-family="'GF Zemen Unicode',Code2000" font-size="28">ለምንድነው አማርኛ የማይናገሩት፧</text> |
| 72 |
<text x="230" y="150" xml:lang="en">Amharic</text> |
| 73 |
</g> |
| 74 |
<g systemLanguage="ar"> |
| 75 |
<!-- this is a tiny test so there is no text-anchor, thus rtl text is explicitly positioned --> |
| 76 |
<text x="20" y="220" xml:lang="ar-SA" font-family=" Tahoma,'MS Farsi','Arial Unicode MS'" font-size="19">لماذا لا يتكلمون اللّغة العربية فحسب؟</text> |
| 77 |
<text x="230" y="150" xml:lang="en">Arabic (SA)</text> |
| 78 |
</g> |
| 79 |
<g systemLanguage="bg"> |
| 80 |
<text x="20" y="220" xml:lang="bg" font-size="18">Защо те просто не могат да говорят български ?</text> |
| 81 |
<text x="230" y="150" xml:lang="en">Bulgarian</text> |
| 82 |
</g> |
| 83 |
<g systemLanguage="bn"> |
| 84 |
<text x="20" y="220" xml:lang="bn" font-family="'Arial Unicode MS','UT Bengali Khulna'" font-size="28">ওরা েকন বাংলা বলেত পাের না ?</text> |
| 85 |
<text x="230" y="150" xml:lang="en">Bengali</text> |
| 86 |
</g> |
| 87 |
<!-- |
| 88 |
Tibetan needs complex layout: this will not work correctly though the font has the right glyphs: |
| 89 |
<g systemLanguage="bo"> |
| 90 |
<text x="20" y="220" xml:lang="bo" font-family="'Arial Unicode MS'" font-size="18"> |
| 91 |
|
| 92 |
ག་རེ་བྱས་ཁོ་རང་ཚོས་ བོད་ སྐད་ཆ་དེ་ག་རང་བཤད་ཀྱི་མ་རེད།</text> |
| 93 |
<text x="230" y="150" xml:lang="en">Tibetan</text> |
| 94 |
</g>--> |
| 95 |
<g systemLanguage="ca"> |
| 96 |
<text x="20" y="220" xml:lang="bg" font-size="20">Per què no poden simplement parlar en català ?</text> |
| 97 |
<text x="230" y="150" xml:lang="en">Catalan</text> |
| 98 |
</g> |
| 99 |
<g systemLanguage="cs"> |
| 100 |
<text x="20" y="220" xml:lang="cs">Proč prostě nemluví česky ?</text> |
| 101 |
<text x="230" y="150" xml:lang="en">Czech</text> |
| 102 |
</g> |
| 103 |
<g systemLanguage="cy"> |
| 104 |
<text x="20" y="220" xml:lang="cy" font-size="20">Pam dydyn nhw ddim yn siarad Cymraeg ?</text> |
| 105 |
<text x="230" y="150" xml:lang="en">Welsh</text> |
| 106 |
</g> |
| 107 |
<g systemLanguage="da"> |
| 108 |
<text x="20" y="220" xml:lang="da">Hvorfor kan de ikke bare tale dansk ?</text> |
| 109 |
<text x="230" y="150" xml:lang="en">Danish</text> |
| 110 |
</g> |
| 111 |
<!-- need a generic german, too --> |
| 112 |
<g systemLanguage="de-DE"> |
| 113 |
<text x="20" y="220" xml:lang="de-DE" font-size="22">Warum sprechen sie nicht einfach Deutsch ?</text> |
| 114 |
<text x="230" y="150" xml:lang="en">German (DE)</text> |
| 115 |
</g> |
| 116 |
<g systemLanguage="el"> |
| 117 |
<text x="20" y="220" xml:lang="el-GR" font-size="22">Μα γιατί δεν μπορούν να μιλήσουν Ελληνικά ;</text> |
| 118 |
<text x="230" y="150" xml:lang="en">Greek (modern, GR)</text> |
| 119 |
</g> |
| 120 |
<g systemLanguage="en"> |
| 121 |
<text x="20" y="220" xml:lang="en-US">Why can't they just speak English ?</text> |
| 122 |
<text x="230" y="150" xml:lang="en">English (US)</text> |
| 123 |
</g> |
| 124 |
<g systemLanguage="es"> |
| 125 |
<text x="20" y="220" xml:lang="es-ES" font-size="18">¿Por qué no pueden simplemente hablar en castellano ?</text> |
| 126 |
<text x="230" y="150" xml:lang="en">Spanish (ES)</text> |
| 127 |
</g> |
| 128 |
<g systemLanguage="eu"> |
| 129 |
<text x="20" y="220" xml:lang="eu" font-size="21">Zergatik ezin dute Euzkeraz bakarrik hitzegin?</text> |
| 130 |
<text x="230" y="150" xml:lang="en">Basque</text> |
| 131 |
</g> |
| 132 |
<g systemLanguage="fa"> |
| 133 |
<text x="20" y="220" xml:lang="fa" font-family=" Tahoma,'MS Farsi','Arial Unicode MS'" font-size="22">خب، چرا فارسى صحبت نمى كنند؟</text> |
| 134 |
<text x="230" y="150" xml:lang="en">Farsi</text> |
| 135 |
</g> |
| 136 |
<g systemLanguage="fi"> |
| 137 |
<text x="20" y="220" xml:lang="fi" font-size="20">Miksi he eivät yksinkertaisesti puhu suomea ?</text> |
| 138 |
<text x="230" y="150" xml:lang="en">Finnish</text> |
| 139 |
</g> |
| 140 |
<!-- put Canadian French before generic French --> |
| 141 |
<g systemLanguage="fr"> |
| 142 |
<text x="20" y="220" xml:lang="fr-fR" font-size="17">Pourquoi, tout simplement, ne parlent-ils pas en Français ?</text> |
| 143 |
<text x="230" y="150" xml:lang="en">French (FR)</text> |
| 144 |
</g> |
| 145 |
<g systemLanguage="gd"> |
| 146 |
<text x="20" y="220" xml:lang="gd" font-size="20">Carson nach eil iad a'bruidhinn na Gàidhlige ?</text> |
| 147 |
<text x="230" y="150" xml:lang="en">Scots Gaelic</text> |
| 148 |
</g> |
| 149 |
<g systemLanguage="gu"> |
| 150 |
<text x="20" y="220" xml:lang="gu" font-family="'Arial Unicode MS'" font-size="28">બદ્ધા લોકો ગુજરાતી કૅમ નથી બોલતા?</text> |
| 151 |
<text x="230" y="150" xml:lang="en">Gujarti (IN)</text> |
| 152 |
</g> |
| 153 |
<g systemLanguage="he"> |
| 154 |
<!-- he or iw, check --> |
| 155 |
<text x="20" y="220" xml:lang="he" font-family="Tahoma,'Arial Unicode MS'" font-size="22">למה הם פשוט לא מדברים עברית ?</text> |
| 156 |
<text x="230" y="150" xml:lang="en">Hebrew (modern)</text> |
| 157 |
</g> |
| 158 |
<g systemLanguage="hi"> |
| 159 |
<text x="20" y="220" xml:lang="hi" font-family="Mangal,Code2000,'Arial Unicode MS'">यह लोग हिन्दी क्यों नहीं बोल सकते हैं ?</text> |
| 160 |
<text x="230" y="150" xml:lang="en">Hindi</text> |
| 161 |
</g> |
| 162 |
<g systemLanguage="hr"> |
| 163 |
<text x="20" y="220" xml:lang="hr">Zašto jednostavno ne govore hrvatski ?</text> |
| 164 |
<text x="230" y="150" xml:lang="en">Croatian</text> |
| 165 |
</g> |
| 166 |
<g systemLanguage="hu"> |
| 167 |
<text x="20" y="220" xml:lang="hu" font-size="22">Miért nem beszélnek egyszerűen magyarul ?</text> |
| 168 |
<text x="230" y="150" xml:lang="en">Hungarian</text> |
| 169 |
</g> |
| 170 |
<g systemLanguage="hy"> |
| 171 |
<text x="20" y="220" xml:lang="hy" font-family="Sylfaen,Code2000,'Arial Unicode MS'" font-size="22"> |
| 172 |
Ինչու՞ նրանք չեն խոսում Հայերեն |
| 173 |
</text> |
| 174 |
<text x="230" y="150" xml:lang="en">Armenian</text> |
| 175 |
</g> |
| 176 |
<g systemLanguage="id"> |
| 177 |
<text x="20" y="220" xml:lang="id" font-size="18">Mengapa mereka tidak bisa bicara bahasa Indonesia ?</text> |
| 178 |
<text x="230" y="150" xml:lang="en">Indonesian</text> |
| 179 |
</g> |
| 180 |
<g systemLanguage="is"> |
| 181 |
<text x="20" y="220" xml:lang="is" font-size="20">Hvers vegna geta þeir ekki réttlátur tala Íslenska ?</text> |
| 182 |
<text x="230" y="150" xml:lang="en">Icelandic</text> |
| 183 |
</g> |
| 184 |
<g systemLanguage="it"> |
| 185 |
<text x="20" y="220" xml:lang="it" font-size="18">Perchè non possono semplicemente parlare italiano ?</text> |
| 186 |
<text x="230" y="150" xml:lang="en">Italian</text> |
| 187 |
</g> |
| 188 |
<g systemLanguage="iu"> |
| 189 |
<!-- unable to distinguish North Baffin Island Inuktitut from |
| 190 |
South/Central Baffin Island Inuktitut |
| 191 |
because ISO 3166 codes do not offer any finer |
| 192 |
resolution than 'Canadian' --> |
| 193 |
<text x="20" y="220" xml:lang="iu" font-family="NunacomU,'Ballymun RO','Arial Unicode MS'" font-size="28">ᓱᒻᒪᓂᒃᑯᐊ ᐃᓄᒃᑎᑐ ᑐᐃᓐᓇᔭᙱᓚᑦ</text> |
| 194 |
<text x="230" y="150" xml:lang="en">Inuktitut</text> |
| 195 |
</g> |
| 196 |
<g systemLanguage="ja-JP"> |
| 197 |
<text x="20" y="220" xml:lang="ja-JP" font-family="'MS Gothic',MS ゴシック,'MS Mincho',MS 明朝,Code2000,'Arial Unicode MS',DFP-SMTWSong" font-size="22">なぜ、みんな日本語を話してくれないのか?</text> |
| 198 |
<text x="230" y="150" xml:lang="en">Japanese (JP)</text> |
| 199 |
</g> |
| 200 |
<g systemLanguage="jw"> |
| 201 |
<text x="20" y="220" xml:lang="jw" font-size="20">Kenapa kok ora nganggo basa Jawa wae?</text> |
| 202 |
<text x="230" y="150" xml:lang="en">Javanese</text> |
| 203 |
</g> |
| 204 |
<g systemLanguage="ka"> |
| 205 |
<text x="20" y="220" xml:lang="ka" font-family="Sylfaen,Code2000,'Arial Unicode MS'" font-size="20">რატომ არ ლაპარაკობენ ისინი ქართულად ?</text> |
| 206 |
<text x="230" y="150" xml:lang="en">Georgian</text> |
| 207 |
</g> |
| 208 |
<g systemLanguage="kk"> |
| 209 |
<text x="20" y="220" xml:lang="kk" font-family="'Arial Unicode MS',Code2000">Олар неге қазақ тiлiнде сойлемейдi?</text> |
| 210 |
<text x="230" y="150" xml:lang="en">Kazakh</text> |
| 211 |
</g> |
| 212 |
<g systemLanguage="kn"> |
| 213 |
<text x="20" y="220" xml:lang="kn" font-family="'Arial Unicode MS',Code2000" font-size="28">ಅವರು ಕನ್ನಡ ಮಾತನಾಡಬಹುದಲ್ಲಾ?</text> |
| 214 |
<text x="230" y="150" xml:lang="en">Kannada</text> |
| 215 |
</g> |
| 216 |
<g systemLanguage="ko"> |
| 217 |
<text x="20" y="220" xml:lang="ko" font-family="GulimChe,굴림체,Gulim,굴림,BatangChe,바탕체,Batang,바탕,Code2000,'Arial Unicode MS'" font-size="15">세계의 모든 사람들이 한국어 를 이해한다면 얼마나 좋을까?</text> |
| 218 |
<text x="230" y="150" xml:lang="en">Korean</text> |
| 219 |
</g> |
| 220 |
<g systemLanguage="ky"> |
| 221 |
<text x="20" y="220" xml:lang="ky" font-family="'Arial Unicode MS',Code2000">Емне үчүн алар кыргызча сүйлбйт?</text> |
| 222 |
<text x="230" y="150" xml:lang="en">Kirghiz</text> |
| 223 |
</g> |
| 224 |
<g systemLanguage="lt"> |
| 225 |
<text x="20" y="220" xml:lang="lt" font-size="28">Kodėl gi jie nekalba lietuviškai ?</text> |
| 226 |
<text x="230" y="150" xml:lang="en">Lithuanian</text> |
| 227 |
</g> |
| 228 |
<g systemLanguage="mk"> |
| 229 |
<text x="20" y="220" xml:lang="mk" font-size="20">Зошто тие едноставно не говорат македонски ?</text> |
| 230 |
<text x="230" y="150" xml:lang="en">Macedonian</text> |
| 231 |
</g> |
| 232 |
<g systemLanguage="mr"> |
| 233 |
<text x="20" y="220" xml:lang="mr" font-family="Mangal,Code2000,'Arial Unicode MS'" font-size="26">लोकांना मराठी का बोलता येत नाही?</text> |
| 234 |
<text x="230" y="150" xml:lang="en">Marathi</text> |
| 235 |
</g> |
| 236 |
<g systemLanguage="nl"> |
| 237 |
<text x="20" y="220" xml:lang="nl" font-size="21">Waarom spreken ze niet gewoon Nederlands ?</text> |
| 238 |
<text x="230" y="150" xml:lang="en">Dutch</text> |
| 239 |
</g> |
| 240 |
<g systemLanguage="no"> |
| 241 |
<text x="20" y="220" xml:lang="no" font-size="21">Hvorfor kan de ikke bare snakke norsk ?</text> |
| 242 |
<text x="230" y="150" xml:lang="en">Norwegian</text> |
| 243 |
</g> |
| 244 |
<g systemLanguage="or"> |
| 245 |
<text x="20" y="220" xml:lang="or" font-family="'Arial Unicode MS',Code2000" font-size="26">ସେମାନେ ଉଡିଯା ରେ କହିନ୍କି କହିବେ ନହିଁ?</text> |
| 246 |
<text x="230" y="150" xml:lang="en">Oriya</text> |
| 247 |
</g> |
| 248 |
<g systemLanguage="pl"> |
| 249 |
<text x="20" y="220" xml:lang="pl">Dlaczego oni nie mówią po polsku ?</text> |
| 250 |
<text x="230" y="150" xml:lang="en">Polish</text> |
| 251 |
</g> |
| 252 |
<!-- test two specific types of Portugese, then a generic alternative --> |
| 253 |
<g systemLanguage="pt-PT"> |
| 254 |
<text x="20" y="220" xml:lang="pt-PT" font-size="18">Porque é que eles não falam simplesmente em Português ?</text> |
| 255 |
<text x="230" y="150" xml:lang="en">Portugese (PT)</text> |
| 256 |
</g> |
| 257 |
<g systemLanguage="pt-BR"> |
| 258 |
<text x="20" y="220" xml:lang="pt-BR" font-size="17">Porque é que eles não falam em Português (do Brasil) ?</text> |
| 259 |
<text x="230" y="150" xml:lang="en">Portugese (BR)</text> |
| 260 |
</g> |
| 261 |
<g systemLanguage="pt"> |
| 262 |
<text x="20" y="220" xml:lang="pt-PT" font-size="18">Porque é que eles não falam simplesmente em Português ?</text> |
| 263 |
<text x="230" y="150" xml:lang="en">Portugese</text> |
| 264 |
</g> |
| 265 |
<g systemLanguage="ro"> |
| 266 |
<text x="20" y="220" xml:lang="ro">De ce ei nu vorbesc moldoveneşte ?</text> |
| 267 |
<text x="230" y="150" xml:lang="en">Romanian</text> |
| 268 |
</g> |
| 269 |
<g systemLanguage="ru"> |
| 270 |
<text x="20" y="220" xml:lang="ru">Почему же они не говорят по-русски ?</text> |
| 271 |
<text x="230" y="150" xml:lang="en">Russian</text> |
| 272 |
</g> |
| 273 |
<g systemLanguage="sa"> |
| 274 |
<text x="20" y="220" xml:lang="sa" font-family="Mangal,Code2000,'Arial Unicode MS'" font-size="26">ते किं संस्कृतः माम वदन्ति ?</text> |
| 275 |
<text x="230" y="150" xml:lang="en">Sanskrit</text> |
| 276 |
</g> |
| 277 |
<g systemLanguage="sr"> |
| 278 |
<text x="20" y="220" xml:lang="sr">Zašto jednostavno ne govore srpski ?</text> |
| 279 |
<text x="230" y="150" xml:lang="en">Serbian</text> |
| 280 |
</g> |
| 281 |
<g systemLanguage="si"> |
| 282 |
<text x="20" y="220" xml:lang="si" font-family="'Andale Mono WT J'" font-size="26">අැයි ඔවුන්ට ඉංගරිස කතා ෛනබ ?</text> |
| 283 |
<text x="230" y="150" xml:lang="en">Sinhalese</text> |
| 284 |
<!-- Sinhalese needs somewhat complex layout (many paired special cases, see |
| 285 |
http://www-texdev.mpce.mq.edu.au/l2h/indic/Sinhala/lreport/node1.html |
| 286 |
so this 'chart' font is not entirely suitable--> |
| 287 |
</g> |
| 288 |
<g systemLanguage="sl"> |
| 289 |
<text x="20" y="220" xml:lang="sl">Zakaj vendar ne govorijo slovensko ?</text> |
| 290 |
<text x="230" y="150" xml:lang="en">Slovenian</text> |
| 291 |
</g> |
| 292 |
<g systemLanguage="sq"> |
| 293 |
<text x="20" y="220" xml:lang="sq">Pse nuk duan të flasin vetëm shqip ?</text> |
| 294 |
<text x="230" y="150" xml:lang="en">Albanian</text> |
| 295 |
</g> |
| 296 |
<g systemLanguage="sv"> |
| 297 |
<text x="20" y="220" xml:lang="sv">Varför pratar dom inte bara svenska ?</text> |
| 298 |
<text x="230" y="150" xml:lang="en">Swedish</text> |
| 299 |
</g> |
| 300 |
<g systemLanguage="ta"> |
| 301 |
<text x="20" y="220" xml:lang="ta" font-family="Latha,'Arial Unicode MS'" font-size="20">அவர்கள் ஏன் தமிழில் பேசக்கூடாது ?</text> |
| 302 |
<text x="230" y="150" xml:lang="en">Tamil</text> |
| 303 |
</g> |
| 304 |
<g systemLanguage="te"> |
| 305 |
<text x="20" y="220" xml:lang="te" font-family="'Arial Unicode MS'"> |
| 306 |
తెలుగు లో ఎందుకు మాట్లాడరు? |
| 307 |
</text> |
| 308 |
<text x="230" y="150" xml:lang="en">Telugu</text> |
| 309 |
</g> |
| 310 |
<g systemLanguage="tg"> |
| 311 |
<text x="20" y="220" xml:lang="tg" font-size="20">Čaro onho ba zaboni točiki gap namezanand?</text> |
| 312 |
<text x="230" y="150" xml:lang="en">Tajik</text> |
| 313 |
</g> |
| 314 |
<g systemLanguage="th"> |
| 315 |
<text x="20" y="220" xml:lang="th" font-family="Tahoma,CordiaUPC,BrowalliaUPC,DilleniaUPC,EucrosiaUPC,FreesiaUPC,JasmineUPC, KodChiangUPC,LilyUPC,'Arial Unicode MS'" font-size="28">ทำไมเขาถึงไม่พูด ภาษาไทย </text> |
| 316 |
<text x="230" y="150" xml:lang="en">Thai</text> |
| 317 |
</g> |
| 318 |
<g systemLanguage="tl"> |
| 319 |
<text x="20" y="220" xml:lang="tl" font-size="19">Bakit hindi na lang sila magsalita ng Tagalog ?</text> |
| 320 |
<text x="230" y="150" xml:lang="en">Tagalog (Filipino)</text> |
| 321 |
</g> |
| 322 |
<g systemLanguage="tr"> |
| 323 |
<text x="20" y="220" xml:lang="tr">Neden Türkçe konuşamıyorlar?</text> |
| 324 |
<text x="230" y="150" xml:lang="en">Turkish</text> |
| 325 |
</g> |
| 326 |
<g systemLanguage="tt"> |
| 327 |
<text x="20" y="220" xml:lang="tt" font-family="'Arial Unicode MS',Code2000" font-size="22">Нишләп олар татарча сүләша алмыйлар?</text> |
| 328 |
<text x="230" y="150" xml:lang="en">Tatar</text> |
| 329 |
</g> |
| 330 |
<g systemLanguage="uk"> |
| 331 |
<text x="20" y="220" xml:lang="uk">Чому б їм не розмовляти українською ?</text> |
| 332 |
<text x="230" y="150" xml:lang="en">Ukranian</text> |
| 333 |
</g> |
| 334 |
<g systemLanguage="ur-IN"> |
| 335 |
<text x="20" y="220" xml:lang="ur-IN" font-family=" Tahoma,'MS Farsi','Arial Unicode MS'" font-size="22">ﻦﻴﻫ ﻰﺘﻠﻭﺒ ﻦﻴﻬﻨ ﻦﻭﻴﻜ ﻮﺪﺭﺃ بس ﻮﻩ ﻟﻮﮒ؟</text> |
| 336 |
<text x="230" y="150" xml:lang="en">Urdu (IN)</text> |
| 337 |
</g> |
| 338 |
<g systemLanguage="ur-PK"> |
| 339 |
<text x="20" y="220" xml:lang="ur-PK" font-family=" Tahoma,'MS Farsi','Arial Unicode MS'" font-size="19">ﻦﻴﻫ ﻰﺘﻠﻭﺒ ﻦﻴﻬﻨ ﻦﻭﻴﻜ ﻮﺪﺭﺃ بس ﻮﻩ ﻟﻮﮒ؟</text> |
| 340 |
<text x="230" y="150" xml:lang="en">Urdu (PK)</text> |
| 341 |
</g> |
| 342 |
<!-- should have a generic Urdu here for when user preference is Urdu but neither Pakistan Urdu nor Indian Urdu --> |
| 343 |
<g systemLanguage="uz"> |
| 344 |
<text x="20" y="220" xml:lang="uz" font-size="22">Nega ular uzbek tilinda gapirmaidilar?</text> |
| 345 |
<text x="230" y="150" xml:lang="en">Uzbek</text> |
| 346 |
</g> |
| 347 |
<g systemLanguage="vi"> |
| 348 |
<text x="20" y="220" xml:lang="vi" font-family="Tahoma,Verdana,'Verdana Ref','Arial Unicode MS'" font-size="22">Tại sao họ không thể chỉ nói tiếng Việt ?</text> |
| 349 |
<text x="230" y="150" xml:lang="en">Vietnamese</text> |
| 350 |
</g> |
| 351 |
<g systemLanguage="yi"> |
| 352 |
<text x="20" y="220" xml:lang="yi" font-family="Tahoma,'Arial Unicode MS'" font-size="22">פֿאַרװאָס רעדט מען ניט פּשוט ייִדיש ?</text> |
| 353 |
<text x="230" y="150" xml:lang="en">Yiddish</text> |
| 354 |
</g> |
| 355 |
<g systemLanguage="zh-CN"> |
| 356 |
<text x="20" y="220" font-family="'MS Hei','MS Song',LiSu,隶书,Code2000,'Arial Unicode MS'" font-size="26" xml:lang="zh-CN">他们为什么不说中文 (中国) ?</text> |
| 357 |
<text x="230" y="150" xml:lang="en">Chinese (CN)</text> |
| 358 |
</g> |
| 359 |
<g systemLanguage="zh-TW"> |
| 360 |
<text x="20" y="220" xml:lang="zh-TW" font-family="MingLiU,細明體,PMingLiU,新細明體,DFP-SMTWSong,Code2000,'Arial Unicode MS'" font-size="26">他們爲什麽不說中文(台灣)?</text> |
| 361 |
<text x="230" y="150" xml:lang="en">Chinese (TW)</text> |
| 362 |
</g> |
| 363 |
<g> |
| 364 |
<!-- the default case, try three languages of W3C host institutions --> |
| 365 |
<text x="90" y="100" fill="#700" font-size="14">You have no (matching) language preference set</text> |
| 366 |
<text x="20" y="180" xml:lang="ja-JP" font-family="MS Gothic,MS ゴシック,MS Mincho,MS 明朝,Code2000,'Arial Unicode MS',DFP-SMTWSong" font-size="20">なぜ、みんな日本語を話してくれないのか?</text> |
| 367 |
<text x="20" y="220" xml:lang="en-US">Why can't they just speak English ?</text> |
| 368 |
<text x="20" y="260" xml:lang="fr-fR" font-size="16">Pourquoi, tout simplement, ne parlent-ils pas en Français ?</text> |
| 369 |
</g> |
| 370 |
</switch> |
| 371 |
<!-- action item was to make a switch "for all ISO 639-1 language codes", |
| 372 |
a large task not completed. But there is enough here to make a good test case, |
| 373 |
including 19 of the top 20 langiuages by number of speakers (except Punjabi). |
| 374 |
|
| 375 |
Here is the full list (trailing * indicates language included in this test), |
| 376 |
accurate as of October 22, 2002 from the registration authority: |
| 377 |
http://lcweb.loc.gov/standards/iso639-2/langcodes.html |
| 378 |
|
| 379 |
aa Afar |
| 380 |
ab Abkhazian |
| 381 |
af Afrikaans * |
| 382 |
am Amharic * |
| 383 |
ar Arabic * |
| 384 |
as Assamese |
| 385 |
ae Avestan |
| 386 |
ay Aymara |
| 387 |
az Azerbaijani |
| 388 |
|
| 389 |
ba Bashkir |
| 390 |
be Byelorussian |
| 391 |
bg Bulgarian * |
| 392 |
bh Bihari |
| 393 |
bi Bislama |
| 394 |
bn Bengali [Bangla] * |
| 395 |
bo Tibetan * |
| 396 |
br Breton |
| 397 |
bs Bosnian |
| 398 |
|
| 399 |
ca Catalan * |
| 400 |
ce Chechen |
| 401 |
ch Chamorro |
| 402 |
co Corsican |
| 403 |
cs Czech * |
| 404 |
cu Church Slavic |
| 405 |
cv Chuvash |
| 406 |
cy Welsh * |
| 407 |
|
| 408 |
da Danish * |
| 409 |
de German * |
| 410 |
dz Dzongkha [Bhutani] |
| 411 |
|
| 412 |
el Greek, Modern (1453-) * |
| 413 |
en English, Modern * |
| 414 |
eo Esperanto |
| 415 |
es Spanish * |
| 416 |
et Estonian |
| 417 |
eu Basque * |
| 418 |
|
| 419 |
fa Persian (Farsi) * |
| 420 |
fi Finnish * |
| 421 |
fj Fijian |
| 422 |
fo Faeroese |
| 423 |
fr French, Modern * |
| 424 |
fy Frisian |
| 425 |
|
| 426 |
ga Irish |
| 427 |
gd Scots Gaelic * |
| 428 |
gl Gallegan [Galician] |
| 429 |
gn Guarani |
| 430 |
gu Gujarati * |
| 431 |
gv Manx |
| 432 |
|
| 433 |
ha Hausa |
| 434 |
he Hebrew * |
| 435 |
hi Hindi * |
| 436 |
ho Hiri Motu |
| 437 |
hr Croatian * |
| 438 |
hu Hungarian * |
| 439 |
hy Armenian * |
| 440 |
hz Herero |
| 441 |
|
| 442 |
ia Interlingua |
| 443 |
id Indonesian * |
| 444 |
ie Interlingue |
| 445 |
ik Inupiak |
| 446 |
is Icelandic * |
| 447 |
it Italian * |
| 448 |
iu Inuktitut * |
| 449 |
iw Hebrew * |
| 450 |
|
| 451 |
ja Japanese * |
| 452 |
jw Javanese |
| 453 |
|
| 454 |
ka Georgian * |
| 455 |
ki Kikuyu |
| 456 |
kj Kuanyama |
| 457 |
kk Kazakh * |
| 458 |
kl Kalaallisut [Greenlandic] |
| 459 |
km Khmer [Cambodian] |
| 460 |
kn Kannada * |
| 461 |
ko Korean * |
| 462 |
ks Kashmiri |
| 463 |
ku Kurdish |
| 464 |
kv Komi |
| 465 |
kw Cornish |
| 466 |
ky Kirghiz * |
| 467 |
|
| 468 |
la Latin |
| 469 |
ln Lingala |
| 470 |
lo Lao [Laothian] |
| 471 |
lt Lithuanian * |
| 472 |
lv Latvian [Lettish] |
| 473 |
|
| 474 |
mg Malagasy |
| 475 |
mh Marshall |
| 476 |
mi Maori |
| 477 |
mk Macedonian * |
| 478 |
ml Malayalam |
| 479 |
mn Mongolian |
| 480 |
mo Moldavian |
| 481 |
mr Marathi * |
| 482 |
ms Malay |
| 483 |
mt Maltese |
| 484 |
my Burmese |
| 485 |
|
| 486 |
na Nauru |
| 487 |
nb Norwegian Bokmal |
| 488 |
nd Ndebele, North |
| 489 |
ne Nepali |
| 490 |
ng Ndonga |
| 491 |
nl Dutch * |
| 492 |
nn Norwegian Nynorsk |
| 493 |
no Norwegian * |
| 494 |
nr Ndebele, South |
| 495 |
nv Navajo |
| 496 |
ny Chichewa~@Nyanja |
| 497 |
|
| 498 |
oc Occitan (post 1500); Provencal |
| 499 |
om Oromo [Afan] |
| 500 |
or Oriya * |
| 501 |
os Ossetian; Ossetic |
| 502 |
|
| 503 |
pa Panjabi |
| 504 |
pi Pali |
| 505 |
pl Polish * |
| 506 |
ps Pushto [Pashto] |
| 507 |
pt Portuguese * |
| 508 |
|
| 509 |
qu Quechua |
| 510 |
|
| 511 |
rm Rhaeto-Romance |
| 512 |
rn Kirundi |
| 513 |
ro Romanian * |
| 514 |
ru Russian * |
| 515 |
rw Kinyarwanda |
| 516 |
|
| 517 |
sa Sanskrit * |
| 518 |
sc Sardinian |
| 519 |
sd Sindhi |
| 520 |
se Northern Sami |
| 521 |
sg Sangro |
| 522 |
sr Serbian * |
| 523 |
si Sinhalese * |
| 524 |
sk Slovak |
| 525 |
sl Slovenian * |
| 526 |
sm Samoan |
| 527 |
sn Shona |
| 528 |
so Somali |
| 529 |
sq Albanian * |
| 530 |
sr Serbian |
| 531 |
ss Swati [Siswati] |
| 532 |
st Sotho, Southern [Sesotho] |
| 533 |
su Sundanese |
| 534 |
sv Swedish * |
| 535 |
sw Swahili |
| 536 |
|
| 537 |
ta Tamil * |
| 538 |
te Tegulu * |
| 539 |
tg Tajik * |
| 540 |
th Thai * |
| 541 |
ti Tigrinya |
| 542 |
tk Turkmen |
| 543 |
tl Tagalog * |
| 544 |
tn Tswana [Setswana] |
| 545 |
to Tonga |
| 546 |
tr Turkish * |
| 547 |
ts Tsonga |
| 548 |
tt Tatar * |
| 549 |
tw Twi |
| 550 |
|
| 551 |
ug Uighur |
| 552 |
uk Ukrainian * |
| 553 |
ur Urdu * |
| 554 |
uz Uzbek * |
| 555 |
|
| 556 |
vi Vietnamese * |
| 557 |
vo Volapuk |
| 558 |
|
| 559 |
wo Wolof |
| 560 |
|
| 561 |
xh Xhosa |
| 562 |
|
| 563 |
yi Yiddish * |
| 564 |
yo Yoruba |
| 565 |
|
| 566 |
za Zhuang |
| 567 |
zh Chinese * |
| 568 |
zu Zulu |
| 569 |
|
| 570 |
note: http://msdn.microsoft.com/workshop/management/ISO639codes.htm is obselete and incorrect |
| 571 |
|
| 572 |
--> |
| 573 |
</g> |
| 574 |
</g> |
| 575 |
<g font-family="SVGFreeSansASCII,sans-serif" font-size="32"> |
| 576 |
<text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text> |
| 577 |
</g> |
| 578 |
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/> |
| 579 |
<!-- comment out this watermark once the test is approved --> |
| 580 |
<!--<g id="draft-watermark"> |
| 581 |
<rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/> |
| 582 |
<text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" |
| 583 |
text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> |
| 584 |
</g>--> |
| 585 |
</svg> |