coopcycle / coopcycle-docs

CoopCycle documentation
https://docs.coopcycle.org
20 stars 33 forks source link

This site is built using Jekyll and hosted on GitHub Pages.

To install:

gem install bundler jekyll
bundle install

To run it locally:

bundle exec jekyll serve --safe

Documentation

The URLs will map the folder tree (they are not configured with a .yml file).

Translations

Install Translate Toolkit

Extract translations from HTML files.

html2po --duplicates=merge _site/en/ _translations/en/

Create English message catalog (also see msgen).

podebug --rewrite=en _translations/en/ _translations/en/

Use msgcat to create one PO file.

msgcat _translations/en/*/*.po > _translations/en.po