Compare notes with api.weather.gc.ca on getting French elements translated properly
Opened this issue · 1 comments
bo-lu commented
Repo: https://github.com/ECCC-MSC/msc-pygeoapi
Pygeoapi instance: https://api.weather.gc.ca/
bo-lu commented
Note to recompile pygeoapi translations:
pybabel extract -F babel-mapping.ini -o locale/messages.pot .
Update .po
pybabel update -d locale -l en -i locale/messages.pot
pybabel update -d locale -l fr -i locale/messages.pot
Compile .mo files
pybabel compile -d locale -l en
pybabel compile -d locale -l fr