GeoNode / geonode

GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.
https://geonode.org/
Other
1.45k stars 1.13k forks source link

Cannot custom translate main menu items #12654

Open geogeek11 opened 2 weeks ago

geogeek11 commented 2 weeks ago

All the translations do not translate the 1st main menu item "All resources", even the translation files do not contain the translation of this menu item.

This is the path of the french translation file that I'm updating: /mnt/volumes/statics/static/mapstore/gn-translations/data.fr-FR.json

The french translation file cannot translate also the menu item "datasets" even though it is already translated in the translation file.

The translations are only applied on the viewer, not the main page.

Steps to Reproduce the Problem

1.Change Language and check the 1st main menu item "All resources"

Specifications

mattiagiupponi commented 1 week ago

I'm hadding few translation via this issue https://github.com/GeoNode/geonode/issues/12679

You have to modify the .po file and then re-create it with the python manage.py compilemessages --locale=fr

mattiagiupponi commented 1 week ago

you can take this as example https://github.com/GeoNode/geonode/pull/12682/files