Skip to content

Cannot serve or build the Portuguese (pt-BR) translation locally #2996

@osseamdevel

Description

@osseamdevel

What I'm trying to do

I want to read the course in Portuguese (Brazilian - pt-BR) on my local machine.

What I tried

  • cargo xtask install-tools → installs mdbook-course successfully
  • cargo xtask serve → works for English, but I cannot figure out how to serve or build the pt-BR version

Expected result

Open the full course in Portuguese in my browser (localhost or static files).

System information

  • OS: Ubuntu (or whatever you have)
  • Rust version: rustc 1.91.1 (run rustc --version if you want to be precise)
  • mdbook-course --version → 0.4.52 (or whatever it shows)

Question

What is the correct command in the current main branch to:

  1. Serve the pt-BR version on localhost:3000, or
  2. Build the static pt-BR version so I can open book/pt-BR/index.html

Thank you very much! This course is amazing and I really want to study it in Portuguese.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions