Open meierrom opened 1 year ago
In the network inspector, what request do you see for the UI form?
Hi Sandro,
Thanks for the fast reply!
What network inspector tool do you recommend on debian/ubuntu? Or are you referring to a browser tool?
I checked the log and it shows the following:
qwc-api-gateway_1 | 172.19.0.1 - - [31/Mar/2023:10:15:37 +0000] "GET /assets/forms/autogen/qwc_demo_edit_polygons.ui?v=1680251695&lang=fr-FR HTTP/1.1" 200 1567 "http://localhost:8088/?locale=fr-FR&l=edit_points%2Cedit_lines%2Cedit_polygons%2Cgeographic_lines%2Ccountry_names%2Cstates_provinces%2Ccountries&bl=bluemarble&t=qwc_demo&c=950816%2C6003924&s=500" "Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0" "-"
Kind regards, Roman
Hi folks,
I had a closer look at form translations according to the manual of qwc-data-service.
I was able to create translation files with the provided script, which is translateui.sh, e.g. qwc_demo_edit_polygons_fr.ts or qwc_demo_edit_polygons_fr-FR.ts. I then edited the translation files using QT 5 Linguist.
I'm using qwc-docker so I stored all files in volumes/qwc2/assets/forms/autogen.
I then changed the locale of my browser to french. I was also experimenting with locale=fr-FR in the url. However, translated forms never showed in my case. Instead the original is showing.
What am I missing? How can I debug this?
Kind regards, Roman