geopython / 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
488 stars 261 forks source link

`title` text of links need to be translatable for multilingual support #1624

Closed kngai closed 5 months ago

kngai commented 5 months ago

Is your feature request related to a problem? Please describe. Initially reported from https://github.com/ECCC-MSC/msc-pygeoapi/issues/324, multilingual support for title text under "Links" are currently not implemented or translated.

Describe the solution you'd like I've identified these core API lines of code where the title text needs to be in a config or translatable files. Note that there were various comments in the code mentioning of needing to put these title text in such a manner.

Describe alternatives you've considered Possible to put these text in the HTML Jinja templates instead?

Additional context

The issue primarily affects the list of links when viewed via HTML, like when viewing a specific OGC-API-Feature collection:

image