mono/plain; a11y=true

An accessible, monospace plain Zola Theme

By Simon Gattner

Dictionary

Created: 2024-06-09

Updated: 2026-07-11

Introduction

This theme uses Zola [translations] as a dictionary for UI text. The translations are defined in config.toml. You can set a default language and add translations for each language you want to support.

The Zola Multilingual sites provide more information about how to create multilingual sites with Zola.

Translations

The search page, for example, has the following translations defined in config.toml:

[translations]
search_form_legend = "Search"
search_form_input_label = "Text to search"
search_form_input_placeholder = "Search ↵"
search_form_submit = "Search"
search_form_clear = "Clear"

It is possible to override the search page translations by adding the following values to config.toml:

[translations]
search_form_legend = "The Search"

Languages

To define translations for languages other than the default (en), add language-specific translations in config.toml. Templates resolve these values with the trans function.

[language.de.translations]
search_form_legend = "Die Suche"

[language.fr.translations]
search_form_legend = "La recherche"

[language.it.translations]
search_form_legend = "La ricerca"

Extra Language

+++
title = "Extra Language"
description = "Extra Language"
date = 2024-06-09
[extra]
lang = "de"
+++

The extra.lang field sets the language for the main content of a page or post. It also adds a lang attribute to post and gallery output that links to the page.

Feedback

Have thoughts or experiences you'd like to share? I'd love to hear from you! Whether you agree, disagree, or have a different perspective, your feedback is always welcome. Drop me an email and let's start a conversation.

<​​​​dictionary.monoplain​​​@0x38​.​​de​​​>

Tags