OpenDRR / pygeoapi

pygeoapi is a Python server implementation of the OGC API suite of standards. The project emerged as part of the next generation OGC API efforts in 2018 and provides the capability for organizations to deploy a RESTful OGC API endpoint using OpenAPI, GeoJSON, and HTML. pygeoapi is open source and released under an MIT license.
https://pygeoapi.io
MIT License
0 stars 1 forks source link

Dockerfile: Use pybabel to compile translation files #22

Closed anthonyfok closed 2 years ago

anthonyfok commented 2 years ago

Use pybabel to compile messages.po PO (Portable Object) files into messages.mo MO (Machine Object) files from which the Python gettext module can process the actual translations at run-time.

This fixes the problem where the translated (e.g. French) messages were still displayed in English in the generated Docker image.