Per-element language

This page has <html lang="en">, but each section below declares its own lang. Each section's fixi attributes are resolved against its own language — Spanish in the Spanish section, Japanese in the Japanese section, English at the top level.

A preprocessor that rewrites attributes before fixi reads them would have to commit to one language at preprocess time. loka resolves per-element at read-time, so mixed-language sections compose cleanly.

Outer (lang="en" inherited from <html>)

— empty —

lang="es" — Spanish

— vacío —

lang="ja" — Japanese

— 空 —

lang="ar" — Arabic (RTL)

— فارغ —