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

update i18n for GeoNode QGIS server #459

Open
gubuntu opened this issue Jul 22, 2018 · 11 comments
Open

update i18n for GeoNode QGIS server #459

gubuntu opened this issue Jul 22, 2018 · 11 comments
Assignees

Comments

@gubuntu
Copy link

gubuntu commented Jul 22, 2018

Everything in INGC needs to be in Portuguese...

  • add GeoNode-QGIS server strings to transifex Geonode project
  • then hand over to Jose to finish translating GeoNode into PT
@gubuntu gubuntu added this to the Mozambique milestone Jul 22, 2018
@gubuntu gubuntu added the backlog label Sep 3, 2018
@gubuntu gubuntu added ready and removed backlog labels Sep 14, 2018
@gubuntu gubuntu added in progress and removed ready labels Oct 8, 2018
@lucernae
Copy link
Collaborator

I'm still unsure on how to do this part. We can either generate the locale and publish it under GeoSAFE. Or we can ask GeoNode community to let us push some source string, even though it's not in their repo yet.

@gubuntu
Copy link
Author

gubuntu commented Oct 16, 2018

I think the latter is better. Better still, how about doing #481 then the strings will be there to transate (I will translate them...)

@gubuntu
Copy link
Author

gubuntu commented Nov 3, 2018

whatever is not translated in GeoNode (like some menu items) should be hidden (although it is preferable to translate them

@lucernae
Copy link
Collaborator

lucernae commented Nov 5, 2018

Can I have the screenshot of that menu item?

@gubuntu
Copy link
Author

gubuntu commented Nov 5, 2018

login and see the layers menu in PT locale - 'upload documents' and 'upload layers' are still in English

There are various other elements in GeoNode pages (like on the Layers page itself) where there is still English.

which PT locale are we using for GeoNode - pt-pt or pt-br?

Surely the best way to translate these strings is in the upstream project and not in the theme override? although the latter might be quicker for now?

@lucernae
Copy link
Collaborator

lucernae commented Nov 6, 2018

Can somebody scan through all currently untranslated text and provide screenshoots and url to access it. It was quite difficult to track if it comes from javascript files. It would help if I know the screenshot and url.

Surely the best way to translate these strings is in the upstream project and not in the theme override? although the latter might be quicker for now?

We can search if the string already exists in GeoNode transifex repo. If it's not, we had to push it to theme override or GeoSAFE.

which PT locale are we using for GeoNode - pt-pt or pt-br?

Just pt @gubuntu . If you want to be more specific, we can change the locale name to what you want.

@lucernae
Copy link
Collaborator

lucernae commented Nov 6, 2018

GeoNode resources overrides available in geosafe (in geosafe.geonode and geosafe.geonode-javascript).

@lucernae
Copy link
Collaborator

lucernae commented Nov 6, 2018

Note that not all strings urgently needs to be translated, for example strings in admin page probably not so urgent.

@lucernae
Copy link
Collaborator

lucernae commented Nov 6, 2018

Extra note for javascript translations.

It was very difficult for me to extract strings from most javascript files.

For example the strings in filters list here:

Screen Shot 2018-11-07 at 00.06.20.png

Came from angular template, which is a static resource. At the moment, I don't know how to extract this strings easily so it can be preprocessed by Django. There might be significant effort needed to do this (refactoring or moving the js template).

@gubuntu
Copy link
Author

gubuntu commented Nov 6, 2018

OK I'll explain this to WB, let's not do that if the infrastructure isn't there for tagging and translating

@gubuntu
Copy link
Author

gubuntu commented Nov 21, 2018

this has been done in the ingc-geonode-theme and the geosafe transifex project. the final step now becomes to move the geonode resources from those upstream when we push the rest of our geonode work upstream

@gubuntu gubuntu removed this from the Mozambique milestone Jan 7, 2019
@gubuntu gubuntu removed the ready label Jul 9, 2019
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