struct-cond-02-t

raster image of struct-cond-02-t

This tests ability to use the 'systemLanguage' as a test attribute within a switch element. To pass, either

  1. the name (in English) of the current system language, or
  2. the names of the three languages (English, French Japanese) of W3C
must appear. The second case will occur if either the user language is not one of the (60 or so) languages present in the test, or if there is no user language information available.

It is an error to display no output; the last child of switch has no test, so it will always be taken unless a more suitable child has already evaluated to true.

In addition, the string "Why don't they just speak <language>" should appear in the center of the graphic, translated into that language. It is not an error for some or all of this string to display as 'missing character' glyphs, if no suitable font is available - however, this is unlikely if the language is indeed the users primary language. (It can easily occur during testing, however).