ngeo
ngeo copied to clipboard
Metadata: layer name is not translated
In the metadata window (which we open by clicking on the i-button) the layer name is not translated. In the layertree the translation works.
Project:
- GitHub URL: https://github.com/camptocamp/baselstadt_mapbs
- GeoMapFish version: 2.2.0 ngeo
This is not related to the frontend, this issue concerns the backend that not fetch the layer names in the translation files.
The last minor release of gmf 2.2.1 resolves this issue (in the case of the project I was working on, updating to the last minor fixed the problem). 2.2.1 gonna update and fetch layer names and allow you to make the translation in your .po files.
The c2cgeoportail issue (merged to tag 2.2.1): https://github.com/camptocamp/c2cgeoportal/issues/3278
I could now test it on gmf 2.2.2 and it still isn't translated.
The name OF_BaselStadtMaerz1999Maerz is listed in the .po file and it's translated in the layertree.
Hi @svades , In order for us to understand better what is going on, can you please provide us with the URL that is being requested when you click on the "i"? (You should be able to see that in the browser Web Developer window)
I tried to see that for myself, but it does not seem to work on your testserver, and our demo application has no similar use-case (it has only a very simple query, not comparable to yours).
Hi Wolfgang,
The URL for the case explained above is: http://map.geo.dev.bs.ch/main/wsgi/metadata_summary/2314 (on our development environment). 2314 is the ID of the WMS-Layer.
Additional information:
- the part beginning at Thema Luft-, Satellitenbilder is ours. This is the commit where we implemented it: https://github.com/camptocamp/baselstadt_mapbs/commit/cf52f02c7c683797779e7e727063b6897135d82c#diff-ab2c736b6bdd3d719e42f2a5dfb67be6
- the upper part with the missing translation is yours. It concers the following part:
For us it would also be ok if you remove the h4 part and we will write something for this part.