Translations
Crowdin has good documentation, and we suggest looking at their Getting Started guide. Our site is largely written in Markdown, so it should be easy to contribute. This page contains some helpful pointers for translating some specific syntax you may encounter on our site.
Please join our localization room on Matrix (#pg-i18n:aragon.sh) if you have any additional questions, and read our announcement blog post for additional information about the project.
Note that the English version of the site is the primary version, meaning changes occur there first. If you notice a language falling behind the English version, please help out. We cannot guarantee the accuracy of all our translations. If you have a suggestion about content specific to your region, please open an issue or pull request to our main repository.
Translation output
Translation software gets the translation quite accurate; however, you need to make sure the translated string is correct.
For example:
{ align=right }
We have sometimes found that the syntax for inserting an image like above was missing the , the build script links this directory into i18n/fr/assets/images so translated builds and Markdown previews can use the same files.
Images containing text that needs translation live in docs/assets/images-localized and are uploaded to Crowdin. They retain their existing docs/assets/img paths in Crowdin to preserve translations, but are exported to i18n/<language>/assets/images-localized. Keep assets/images-localized in translated Markdown image paths so the same references resolve to the appropriate images in every language.
Punctuation
For examples like the above admonitions, quotation marks, e.g.: " " must be used to specify string text. MkDocs will not correctly interpret other symbols i.e., 「 」 or « ». Other punctuation marks are fine for marking regular quotations within the text otherwise.
Fullwidth alternatives and Markdown syntax
CJK writing systems tend to use alternative "fullwidth" variants of common symbols. These are different characters and cannot be used for Markdown syntax.
- Links must use regular parenthesis i.e.
((Left Parenthesis U+0028) and)(Right Parenthesis U+0029) and not((Fullwidth Left Parenthesis U+FF08) or)(Fullwidth Right Parenthesis U+FF09) - Indented quoted text must use
:(Colon U+003A) and not:(Fullwidth Colon U+FF1A) - Pictures must use
!(Exclamation Mark U+0021) and not!(Fullwidth Exclamation Mark U+FF01)