GIScience / orstools-qgis-plugin

Plugin for QGIS with a set of tools to use openrouteservice API´s, based on openstreetmap
https://plugins.qgis.org/plugins/ORStools/
MIT License
91 stars 31 forks source link

feat: translation mechanism and german translation #183

Closed koebi closed 11 months ago

koebi commented 11 months ago

fixes #182

The help files could be a bit more neatly arranged by adding different folders for different languages.

koebi commented 11 months ago

ORSBaseProcessingAlgorithm.displayName() currently uses self.ALGO_NAME, which might (or might not) be an identifier used by QGIS (compare the Processing Toolbox Mouseover, e.g.:

Algorithmen-Kennung: 'ORS Tools:directions_from_polylines_layer'

If it is an identifier used, we might either include a self.DISPLAY_NAME for each algorithm, have that translated and used in displayName() or move displayName() from the base class to the child classes and hardcode the name there.