Ticket #2751 (new enhancement)

Opened 22 months ago

Last modified 21 months ago

check translations for full demo site

Reported by: toby Owned by: toby
Priority: critical Milestone: demo phase 5
Component: ckan Keywords: demo-theme
Cc: Repository: ckan
Theme: none


need to check everything gets translated - sean did this before so will have info

Change History

comment:1 Changed 21 months ago by aron.carroll

  • Priority changed from awaiting triage to critical
  • Milestone changed from demo phase 4 to demo phase 3

comment:2 Changed 21 months ago by shevski

Do we need two versions? 1 for thedatahub - where we stick to having "groups" resources etc and 1 for datasuite where groups are re-named as "publishers" and more emphasis on data files vs resources?

comment:3 Changed 21 months ago by toby

  • Milestone changed from demo phase 3 to demo phase 4

This is now possible via the paster trans mangler

the initial verdict is that our translation coverage is extremely poor and we need a full template review - maybe there is a jinja2 i18n solution but I think not without {% trans %}

Moving to phase 4 - also I'm just holding this ticket and will be allocating to aron's successor

Publishers vs Groups is more complex than I think is appreciated, is it really worth the time and effort just to make everyone using ckan confused? Anyhow that discussion is not part of this ticket as it is not in-scope

comment:4 Changed 21 months ago by aron.carroll

I tried {{{paster trans mangler -c datahub.ini}}

I also had to pip install polib and run python setup.py egg_inf

I find it hard to believe out coverage is that poor, I've just been through a random selection of templates and they all have appropriate calls to _()}} or {{{ {% trans %} . Will look once I get this running.

comment:5 Changed 21 months ago by toby


The pip install polib is needed this is a deployment requirement so not in the pip-requirements.txt Not sure where it should live we use it elsewhere so may already be in there somewhere

not sure why you needed the egg_inf

Note: See TracTickets for help on using tickets.