This extension overrides all the .po
entries defined in CKAN which contain references to groups.
The msgid
s have been extracted from a CKAN 2.9.5, so they may mismatch if used with other CKAN versions.
Avalable languages so far: it
, en
, en_GB
Available plugins in this extension:
grouplabel
: Replaces the label "group" with "category".
No requirements.
-
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
-
Go into your CKAN path for extension (e.g.
/usr/lib/ckan/default/src
):git clone https://github.com/geosolutions-it/ckanext-grouplabel.git cd ckanext-grouplabel pip install -e .
-
Add
grouplabel
to theckan.plugins
setting in your CKAN config file (by default the config file is located at/etc/ckan/default/ckan.ini
). -
Restart CKAN.
For example if you've deployed CKAN with Apache on Ubuntu::sudo service apache2 reload
Entries in the .po
files have been created by hand, mainly grepping the CKAN i18n files.
Only the python setup.py compile_catalog
command has been issues, since there are not templates in this extension.