Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata: layer name is not translated #3208

Open
svades opened this issue Dec 5, 2017 · 4 comments
Open

Metadata: layer name is not translated #3208

svades opened this issue Dec 5, 2017 · 4 comments
Assignees
Milestone

Comments

@svades
Copy link

svades commented Dec 5, 2017

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:

metadata_layer_not_translated

@llienher
Copy link
Member

llienher commented Dec 5, 2017

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):
camptocamp/c2cgeoportal#3278

@llienher llienher self-assigned this Dec 5, 2017
@llienher llienher added this to the 2.2 milestone Dec 5, 2017
@llienher llienher closed this as completed Dec 6, 2017
@svades
Copy link
Author

svades commented Jan 29, 2018

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.
admin_of_baselstadt1999maerz
mapfile_of_baselstadt1999maerz
metadata_layer_not_translated

@jwkaltz
Copy link
Member

jwkaltz commented Feb 22, 2018

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).

@jwkaltz jwkaltz reopened this Feb 22, 2018
@svades
Copy link
Author

svades commented Feb 22, 2018

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:

For us it would also be ok if you remove the h4 part and we will write something for this part.

@jwkaltz jwkaltz assigned pfirpfel and unassigned llienher Feb 26, 2018
@sbrunner sbrunner removed the Backlog label Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants