teksi / wastewater

[DEV] Future TEKSI wastewater module, adapted data model to fit VSA-DSS 2020 new standard
https://teksi.github.io/wastewater
GNU General Public License v3.0
2 stars 5 forks source link

there is just one style of a theme translated #481

Open tomep opened 4 weeks ago

tomep commented 4 weeks ago

Describe the bug symbolization of catchment area in german version (style drainage_system_current) is not shown. Interesting is that if I change the style to drainage system planned, it is displayed correctly.

To Reproduce Exact steps to reproduce the behavior:

  1. open teksi and representation the catchment areas

Expected behavior color representation of the catchment areas

Screenshots / data image image

Desktop (please complete the following information):

Additional context Apparently the attributes in the drainage_system_planned style are translated, but not in the drainage_system_current style. Objectidentify in style drainage_system_current: image

Objectidentify in style drainage_system_planned: image

urskaufmann commented 4 weeks ago

Two problems:

Is it possible to solve this in QGIS?

urskaufmann commented 4 weeks ago

further translation problems: -layergroups on a second level are not translated (e.g. catchment connection lines in layergroup cachment_area, structure parts in layergroup wastewater_structure.

urskaufmann commented 3 weeks ago

how do we handle the fact, that QGIS translates

or is this just a question, how the file for translation with the strings from the qgs-file is created? Is this topic solved in the next LTR?

ponceta commented 3 weeks ago

his just a question, how the file for translation with the strings from the qgs-file is created? Is this topic solved in the next LTR?

The function is called in https://github.com/teksi/wastewater/blob/main/project/scripts/project-translation-create-source.py project.generateTsFile(args.language)

It is a QGIS function that you can call from QGIS directly (project/properties): image

New translations strings are pushed to Transifex automatically at each iteration / modification of the QGIS project.

ponceta commented 3 weeks ago

@tomep a small workaround can be to copy the "fields" style from the current theme and then paste it to the planned style :

image

tomep commented 3 weeks ago

thanks @ponceta for the tipp. But i mean is not the fields-style. I have success when i past the attribute-style.

ponceta commented 2 weeks ago

We should be able to copy both probably, but I'll raise it to QGIS too.