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

Cannot custom translate main menu items #12654

Open
geogeek11 opened this issue Oct 15, 2024 · 2 comments
Open

Cannot custom translate main menu items #12654

geogeek11 opened this issue Oct 15, 2024 · 2 comments

Comments

@geogeek11
Copy link

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

  • GeoNode version: 4.3.1
  • Installation type (vanilla, geonode-project): vanilla
  • Installation method (manual, docker): docker
  • Platform: Ubuntu
  • Additional details:
@mattiagiupponi
Copy link
Contributor

I'm hadding few translation via this issue
#12679

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

@mattiagiupponi
Copy link
Contributor

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

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

2 participants