Extension Multilang


Extension Basics

Title
Multilang
Name
ckanext-multilang
Type
Public extension
Description
A CKAN extension that manages multilingual contents
CKAN versions
Download-Url (zip)
Last commit
3 years ago (2022-12-06 14:49:40)
Url to repo
Category
Data Management & Quality


Background Infos

Description (long)
Show details

Build Status

ckanext-multilang

The ckanext-multilang CKAN’s extension provides a way to localize your CKAN’s title and description contents for: Dataset, Resources, Tags, Organizations and Groups. This extension creates some new DB tables for this purpose containing localized contents in base of the configured CKAN’s locales in configuration (the production.ini file). So, accessing the CKAN’s GUI in ‘en’, for example, the User can create a new Dataset and automatically new localized records for that language will be created in the multilang tables. In the same way, changing the GUI’s language, from the CKAN’s language dropdown, the user will be able to edit again the same Dataset in order to specify ‘title’ and ‘description’ of the Dataset for the new selected language. In this way Dataset’s title and description will automatically change simply switching the language from the CKAN’s dropdonw.

The ckanext-multilang provides also an harvester built on top of the ckanext-spatial extension, and inherits all of its functionalities. With this harvester, localized content for Dataset in CKAN can be retrieved form CSW metadata that contains the gmd:PT_FreeText XML element (see the WIKI for more details).

WIKI

The WIKI page of this CKAN extension can be found here <https://github.com/geosolutions-it/ckanext-multilang/wiki>_ in this repository.

License

ckanext-multilang is Free and Open Source software and is licensed under the GNU Affero General Public License (AGPL) v3.0 whose full text may be found at:

http://www.fsf.org/licensing/licenses/agpl-3.0.html

Requirements

The ckanext-multilang extension has been developed for CKAN 2.4 or later. In addition:

  • The CSW multilingual harvester provided by the ckanext-multilang extension requires the [ckanext
Version
Version release date
(not set)
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

To install ckanext-multilang:

  1. Activate your CKAN virtual environment, for example:

    . /usr/lib/ckan/default/bin/activate

  2. Go into your CKAN path for extension (like /usr/lib/ckan/default/src):

    git clone https://github.com/geosolutions-it/ckanext-multilang.git

    cd ckanext-multilang

    pip install -e .

  3. Initialize the DB with the mandatory Tables needed for localized records:

    paster –plugin=ckanext-multilang multilangdb initdb –config=/etc/ckan/default/productio

Plugins to configure (ckan.ini)
multilang
CKAN Settings (ckan.ini)
DB migration to be executed
(not set)
<< back to Extensions