Extension CKAN Force Translation


Extension Basics

Title
CKAN Force Translation
Name
ckanext-forcetranslation
Type
Public extension
Description
CKAN extension for prioritizing another extension's translations to resolve multilingual conflicts.
CKAN versions
Download-Url (zip)
Last commit
4 years ago (2021-08-04 11:57:38)
Url to repo
Category
Content Management


Background Infos

Description (long)
Show details

ckanext-forcetranslation

CKAN extension by Digital and Population Data Services Agency, Finland. Multilingual CKAN instances sometimes have conflicting translations from different extensions. This extension defines a plugin that can always be set to be the last one in the plugin load order, so its translations override all previous ones.

The plugin does not provide any translations by itself but is configured to provide the translations of another extension using configuration values.

Requirements

  • CKAN 2.8.3 (tested)

Installation

pip install -e git+https://github.com/vrk-kpa/ckanext-forcetranslation.git#egg=ckanext-forcetranslation

Add forcetranslation to the end of ckan.plugins setting.

Configuration

# The ckanext module to read translations from (required)
# ckanext.forcetranslation.module = ckanext.ytp

# The path under the module containing the translations (optional, default='')
# ckanext.forcetranslation.path = i18n

# The translation domain (optional)
# ckanext.forcetranslation.domain = 

License

AGPL-3.0 (Copyright 2019 Digital and Population Data Services Agency, Finland)

Info

0 stars, 0 forks, 8 watching. 2 contributors.

Version
Version release date
(not set)
Contact name
vrk-kpa (Digital and Population Data Services Agency, Finland)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

Prioritizes another extension’s translations to resolve multilingual conflicts. Must be last in ckan.plugins. Config: ckanext.forcetranslation.module (required), .path, .domain. CKAN 2.8.3 tested. AGPL-3.0 license. 0 stars, 8 watching.

Plugins to configure (ckan.ini)
forcetranslation
CKAN Settings (ckan.ini)
# ckanext.forcetranslation.module = ckanext.ytp
# ckanext.forcetranslation.path = i18n
# ckanext.forcetranslation.domain = 
DB migration to be executed
(not set)
<< back to Extensions