Closed joelnitta closed 9 months ago
would this look ok in the config
babelquarto:
mainlanguage: 'en'
languages: ['fr']
codes:
- name: fr
text: "Version en français"
- name: en
text: "English version"
or can you envision another interface in the config?
The registration functions would add placeholders (like for title-ja). The rendering function would use either the text, or fallback on what it currently does.
That looks fine to me, except that it doesn't specify where the language button goes. As far as I'm concerned, the current placement (next to the site title on the left side of the navbar) is fine, but others may want to put it somewhere else.
right, that would be more complicated. :thinking:
Perhaps just figure out the text itself now, and save the position for later (if someone asked for it?)
yep that's what I'm going for :grin:
Currently the button to access other languages automatically shows up as
Version in <language code>
, e.g. "Version in FR". It would be nice to be able to customize this (for example, some people may not know what "FR" refers to, or it may be preferable for the language link to appear in that language).