-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Missing translation tags in layer_list and layer_detail #6534
Comments
I think since those Topic Categories are now part of the datamodel itself instead of pre-modelled the translation strings will vary. See e.G. http(s)://your.geonode.url/de/admin/base/topiccategory/ There you have the topic description and name as part of the database model. I am not sure how those would get translated. @t-book and @afabiani ? What is your suggestion? |
I've just got two infos: |
See my draft PR: #6565 |
I tried to use {% trans ... } but it did not work as expected due to angular I think. Any hints are very much appreciated. |
@afabiani @t-book The initial data json fixture is not matching with the .po file strings. There are two options: I have not enough experience to tell which of those options is better in terms of updateability and djangoness. See the fixture changes here: I´ve tested that locally and it does work fine for a new instance. |
@gannebamm the best option would be to change the fixture imho. |
See my PR: #6565 |
…#6565) * updated geo limit texts and cart [#6131] * iso-categories translation msgid fix * layer detail trans tags [FIXES #6534] * adds layer list objects and layer detail iso category translations. * Revert " - Add django-grappelli==2.14.2 admin interface" This reverts commit c9f594c * get Iso categories po texts back and updated german trans for geoapps. Defuzzied some strings * added compiled .mo file * - Revert "grappelli" removal Co-authored-by: Alessio Fabiani <alessio.fabiani@geo-solutions.it> (cherry picked from commit 437914c)
Just for documentation purposes: |
Expected Behavior
In all languages, the name and description of the data categories should be displayed in the appropriate language.
Actual Behavior
(missing {% trans item.category__gn_description} in _resourcebase_snippet.html e.g.)
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: