Current behavior
In my GeoNode deployment (current checkout reports 5.1.0 dev), the language selector does not offer Chinese, so I cannot switch the interface to Chinese through the menu.
However, my checkout includes Chinese translation files:
geonode/locale/zh/LC_MESSAGES/django.po
geonode/locale/zh/LC_MESSAGES/django.mo
geonode/locale/zh/LC_MESSAGES/djangojs.po
geonode/locale/zh/LC_MESSAGES/djangojs.mo
I also noticed that the default language definitions in geonode/settings.py include zh-cn, while the translation directory is named zh. I do not know whether this difference is related to the missing menu option.
Steps to reproduce in my deployment
- Open the GeoNode catalogue interface.
- Open the language selector.
- Look for Chinese / 中文: the option is not available.
Expected behavior
Chinese should be selectable when it is enabled and the required translations are available, or the documentation should explain any additional configuration needed to expose it in the language selector.
Questions
- Is Chinese intentionally unavailable in the language selector by default, despite the existing translation files?
- Which configuration controls the languages shown in the catalogue language selector? Are separate GeoNode/Django and MapStore frontend settings or translation bundles required?
- What is the recommended way to enable Chinese consistently, and which language code should be used (
zh, zh-cn, or another code)?
I would appreciate guidance on whether this is a deployment configuration issue, a frontend translation limitation, or a bug.
Current behavior
In my GeoNode deployment (current checkout reports 5.1.0 dev), the language selector does not offer Chinese, so I cannot switch the interface to Chinese through the menu.
However, my checkout includes Chinese translation files:
I also noticed that the default language definitions in
geonode/settings.pyincludezh-cn, while the translation directory is namedzh. I do not know whether this difference is related to the missing menu option.Steps to reproduce in my deployment
Expected behavior
Chinese should be selectable when it is enabled and the required translations are available, or the documentation should explain any additional configuration needed to expose it in the language selector.
Questions
zh,zh-cn, or another code)?I would appreciate guidance on whether this is a deployment configuration issue, a frontend translation limitation, or a bug.