mirror of
https://github.com/lise-henry/crowbook
synced 2024-11-12 10:00:15 +01:00
.. | ||
bin | ||
document | ||
lib | ||
README.md |
Language directory
This directory, and its subdirectories, contains the files that allow Crowbook to be translated in other languages:
- the document directory contains YAML files that are
used to translate the (few) strings that Crowbook inserts in the
generated documents according to the
lang
option, such as the translations for "Chapter", or "Table of Contents". To add a new translation, just translate the document/en.yaml into a new language. This is probably the easier translation job to do, and also the most important, since these strings are embedded in the generated documents. - the lib and bin directories respectively contains PO files that are used to translate the strings used in Crowbook's library and binary. These files contain a lot more strings, and are only used when Crowbook is run (that is, if you don't have a translation for your language here, you may have to use Crowbook in english, but as long as there is a translation in the document directory it will at least display the correct translation in the documents it generates).