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
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.