1
0
Fork 0
mirror of https://github.com/lise-henry/crowbook synced 2024-05-09 15:56:10 +02:00
crowbook/lang
Elisabeth Henry c6cd6f3a07 Update french translation 2017-07-14 19:39:41 +02:00
..
bin Update french translation 2017-07-14 19:39:41 +02:00
document Tweak latex's title page 2017-03-28 03:56:57 +02:00
lib Update french translation 2017-07-14 18:27:01 +02:00
README.md Split lang/ into separate subdirectories 2016-12-25 20:44:17 +01:00

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).