Locale examples
One program, eight reader surfaces. Faber source is written once and printed in whichever locale the reader asks for: keywords and type names change, while identifiers, strings, and the glyphs carrying structure stay put.
The panels below are the committed generator/locale-tabs/ cache — faber convert output, not hand-written Thai or Arabic. The Latin panel is canonical Faber; the rest are that same program rendered into each locale.
English (en)#
main {
print "Salve, munde!"
}Latin (la)#
incipit {
nota "Salve, munde!"
}The canonical surface every other panel is a re-rendering of.
Arabic (ar)#
بداية {
اعرض "Salve, munde!"
}Hindi (hi)#
आरंभ {
दिखाओ "Salve, munde!"
}Thai (th-TH)#
เริ่ม {
บันทึก "Salve, munde!"
}Vietnamese (vi)#
bắt_đầu {
ghi_chú "Salve, munde!"
}Simplified Chinese (zh-Hans)#
入口 {
显示 "Salve, munde!"
}Traditional Chinese (zh-Hant)#
入口 {
註記 "Salve, munde!"
}---