Explore the world of Autonomous Worlds with Dojo, your trusted toolchain. Dive in now.
Embrace the open-source spirit of Dojo. As it's in its nascent phase, we welcome contributors with open arms.
Peruse our contributing guidelines. From minor wording adjustments to extensive chapters, every contribution matters!
- Rust-related Packages:
- Host Machine Packages:
- To assist with translations, install gettext. It's typically accessible via most package managers. Use:
sudo apt install gettext
.
- To assist with translations, install gettext. It's typically accessible via most package managers. Use:
- Clone this repository to get started.
Always edit Markdown files in English. Here's how to work on it:
- Spin up a local server using
mdbook serve
. Navigate to localhost:3000. For an automated browser launch, append the--open
flag:mdbook serve --open
. - Modify the content as desired. Refresh your browser to review edits.
- Ready to share? Open a PR with your enhancements.
Catering to a global audience, we aspire for multilingual content.
Note: Ensure all files in the src
directory are in English, facilitating automated generation and updates of translation files.
For translation tasks:
- Start a local server for a specific language, e.g.,
./translations.sh es
. Without specifying a language, the script defaults to extracting English translations. - Focus on the relevant translation file, such as
po/es.po
. Tools like poedit can make this task easier. - Conclude your session with changes only in the
po/xx.po
file. Commit and open a PR. Ensure the PR begins withi18n
to signal it involves translation.
This translation model draws inspiration from the Comprehensive Rust repository.
If initiating a new language translation without a local server:
- Use
./translations.sh new xx
, replacingxx
with your language code. This command spawns thexx.po
file for your language. - Update your
xx.po
file with./translations.sh xx
(swapxx
with your language code), as detailed above. - For pre-existing
xx.po
files, refrain from using thenew
command.