dbs / jnd-lib-home

Laurentian University Library & Archives homepage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generate Laurentian library home page

If any text or links are changed in the HTML template, you need to update the messages.pot and corresponding PO files to generate the French version of the page correctly.

pybabel extract -F babel.ini -o locale/messages.pot .
pybabel update -l fr_CA -i locale/messages.pot -d locale

And then edit the locale/fr_CA/LC_MESSAGES/messages.po file accordingly.

After editing the fr_CA messages.po file, compile the locales:

pybabel compile -d locale

If you’re missing locales, then you might need to run the following:

sudo locale-gen en_CA.UTF-8
sudo locale-gen fr_CA.UTF-8
sudo update-locale

About

Laurentian University Library & Archives homepage


Languages

Language:HTML 60.3%Language:Python 22.6%Language:CSS 17.2%