babelquarto: R package to render multilingual Quarto books #5262
maelle
started this conversation in
Show and Tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For the dev version of rOpenSci development guide, we use our experimental babelquarto R package.
It builds the book in the different languages and adds from each page a link to the same page in the other language(s), in the left sidebar.
babelquarto expects:
_quarto.yml
,intro.qmd
is translated inintro.es.qmd
. In the absence of a translated chapter, it falls back to using the chapter in the default language, which can be useful when the translation is still in progress.It can use, but doesn't need, translation for the metadata such as title, description, author, part titles (see docs).
babelquarto doesn't handle translation, but we're working on another package for that, babeldown that interfaces the DeepL API. With it one gets an automated translation upon which a human translator can build.
Thanks so much for the Quarto project!
Beta Was this translation helpful? Give feedback.
All reactions