* da: Sync translation
This resulted in some rewrapped strings due to how `msgmerge` wraps
the strings compared to how `mdbook-xgettext` extracts them.
I also translated a few strings.
* Apply suggestions from code review
* zh-Hans: Translation for basic_syntax/references.md
* Add space between Chinese and English words
For better display effect when compiled to markdown file
Co-authored-by: wnghl <wnghilin@gmail.com>
---------
Co-authored-by: wnghl <wnghilin@gmail.com>
* Create zh-CN.po
Start the translation of Chinese (Simplified).
* Create zh-Hans.po
Start the translation of Chinese (Simplified).
* Delete zh-CN.po
Use zh-Hans instead of zh-CN unless there are translations for different regions.
This copies a bunch of untranslatable page titles (such as crate
names) to the translation. I also translated a lot of small and fuzzy
entries. We should now be at 200 translated entries.
* Additional Italian translations
* Updated base template
* git-ignoring backup copies `po/*.po~` files, generated when updating an existing translation
da: sync with c45b350
This is the result of running
MDBOOK_OUTPUT='{"xgettext": {"pot-file": "messages.pot"}}' mdbook build -d po
msgmerge --update po/da.po po/messages.pot
* First pass of automated translation, using https://github.com/mgeisler/cloud-translate
I think it can give this a leg start.
* First batch of corrections from automatic translations
The translation here comes from @wfranck, I merely resurrected it from #495.
* Translated Day 1: Morning
* Translated Day 1: Afternoon
---------
Co-authored-by: Walter Javier Franck <walterjfranck@gmail.com>
Co-authored-by: Kevin Islas <kevin.islas.abud@gmail.com>
Review of the translation for pt-BR.
Some terms cannot be translated.
Other terms have no translation and have been adapted.
Code examples have been translated, where possible, for ease of understanding.
* Update Korean Translation (20230217)
carg install & gen messages.pot & msgmerge
* Resolve fuzzy entries in Korean
---------
Co-authored-by: Jooyung Han <jooyung@google.com>
* Parse Markdown to support translation.
This upgrades from just splitting Markdown files on double-newlines, to
using a Markdown parser to break them into more appropriate chunks. The
upshot is that code samples are all in one message, lists are bundled
together, and generally it should be easier to translate.
* [WIP] helper to update po files for new translation
* process synthetic input file-by-file
* review comments
* remove temporary code
* fix msgfmt lints
* Update mdbook to 0.4.28
This version contains https://github.com/rust-lang/mdBook/pull/1986 which will allow us to test the code in each translation.
* Fix formatting in Korean translation
The extra code block made `mdbook test` fail.