Skip to content

Renders a Multilingual Quarto Project (Book or Website)

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

ropensci-review-tools/babelquarto

Repository files navigation

babelquarto

R-CMD-check

The goal of {babelquarto} is to render a Quarto multilingual project, book or website.

Note that babelquarto does not translate the content! Translation tooling lives in {babeldown}.

Installation

You can install the development version of {babelquarto} from rOpenSci R-universe:

install.packages('babelquarto', repos = c('https://ropensci.r-universe.dev', 'https://cloud.r-project.org'))

Or from GitHub with:

# install.packages("pak")
pak::pak("ropensci-review-tools/babelquarto")

Getting Started

The {babelquarto} package allows you to create and render a multilingual Quarto project, book or website. A multilingual project is based on a main language and can feature any number of additional languages. The languages are registered once and are then present in your _quarto.yml configuration file under the babelquarto key. Each Quarto Markdown file in your project can then be translated into these further languages and these will be used to generate the project in each language.

If you start from scratch, you might want to look at babelquarto::quarto_multilingual_book() or babelquarto::quarto_multilingual_website() and read vignette("babelquarto").

If you already have and existing Quarto project and want to convert it to a multilingual project, you can use babelquarto::register_main_language() and babelquarto::register_further_languages() to get started. For more information you can read vignette("convert").

Examples

To get a feel of what a multilingual book can look like, you can have a look at this book: rOpenSci Packages: Development, Maintenance, and Peer Review.

For a multilingual website, you can check out Joel Nitta's website.

About

Renders a Multilingual Quarto Project (Book or Website)

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •