1
0
Fork 0
mirror of https://github.com/lise-henry/crowbook synced 2024-05-04 06:46:13 +02:00
crowbook/lang
Elisabeth Henry a5f710ead8 Start porting fr translation 2023-08-23 06:37:53 +02:00
..
bin Use rust-i18n instead of crowbook-intl 2023-08-19 02:19:41 +02:00
document Merge pull request #48 from dkotrada/patch-2 2018-02-07 02:19:52 +01:00
lib Start porting fr translation 2023-08-23 06:37:53 +02:00
README.md Improve docs for maintainability, update highlightjs and replace colours with colors 2019-12-15 23:42:00 +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).