Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #2895: Problems with translations in plugins (part 1)
`ckan.lib.plugin.DefaultTranslation` relies on the extension package's `__file__` attribute which is not available for namespace packages. The fix is to use `ckanext.my_extension.plugin.__file__` instead. Note that the existing code already assumes the existance of the `plugin` module.
- Loading branch information