STRING META
Or why you need language and direction for your strings
WHICH IS CORRECT?
STRING-META
2
WHICH IS CORRECT?
3
BOTH LANGUAGE AND BASE DIRECTION
4
5
Web Page
Data File
Data Source
Price of {$price :currency} + {$shipping :currency} shipping.
Price,�Shipping
SPILLOVER EFFECTS
6
Price of {$price :currency} + {$shipping :currency} shipping.
STRINGS ARE DATA TOO
7
ALL NATURAL LANGUAGE STRINGS…
8
LOTS OF STRINGS ALL IN ONE LANGUAGE
9
Document Level Defaults
10
@context {
@language: "en-US",
@direction: "ltr"
},
"name": "Hello world!"
JSON-LD
But not…
Schema.org
JSON-Schema
THE WORLD IS NOT MONOLINGUAL
11
REFERENCES
12
W3C I18N WANTS YOU
https://www.w3.org/International
13