website for spearhead.systems, sphs.ro, spearheadsystems.ro
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Marius Pana 9152e9d8ba commit translation, peding theme changes 3 months ago
content commit translation, peding theme changes 3 months ago
pelican-plugins @ 000fc5acbc commit translation, peding theme changes 3 months ago
themes/spearhead finalized translation integration 4 months ago
.gitignore updated gitignore 5 months ago
.gitmodules updated tarteau citron and hotjar 5 months ago
README.md commit translation, peding theme changes 3 months ago
develop_server.sh initial commit 8 months ago
pelicanconf.py commit translation, peding theme changes 3 months ago
requirements.txt commit translation, peding theme changes 3 months ago

README.md

This is a pelican project for our main website.

Please note the template is not for reuse! Feel free to reuse whatever else is not part of the webflow template.

Translation

We are using the il8n_subsites pelican plugin for translations. The process for translation is based on the same process detailed in the official docs here.

Getting started quickly

everything is executed from the root of the theme directory!

  1. Add content to your templates (or new templates)
  2. Extract a new message catalog template
  3. pybabel extract --mapping babel.cfg --output messages.pot ./
  4. Update catalogs when translations change
  5. pybabel update --input-file messages.pot --output-dir translations/ --domain messages
  6. compile when finished translating
  7. pybabel compile --directory translations/ --domain messages