fn write_locales_json(root: &Path) -> Result<()>
Writes docs/book/html/locales.json with available locales and their display names.
docs/book/html/locales.json