From ad255e252b1e4f3f025bc359001a5b2083a7783e Mon Sep 17 00:00:00 2001 From: Florian Brucker Date: Thu, 3 Mar 2016 18:21:51 +0100 Subject: [PATCH] Fix #2895: Problems with translations in plugins (part 2) In extensions created using the current templates `*.mo` files (compiled translations) are not picked up during packaging. The fix is to include these files via the `MANIFEST.in` file and to update the template accordingly. --- ckan/pastertemplates/template/MANIFEST.in_tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckan/pastertemplates/template/MANIFEST.in_tmpl b/ckan/pastertemplates/template/MANIFEST.in_tmpl index a32b0e03e87..dc63f8f739d 100644 --- a/ckan/pastertemplates/template/MANIFEST.in_tmpl +++ b/ckan/pastertemplates/template/MANIFEST.in_tmpl @@ -1,2 +1,2 @@ include README.rst -recursive-include ckanext/{{ project_shortname }} *.html *.json *.js *.less *.css +recursive-include ckanext/{{ project_shortname }} *.html *.json *.js *.less *.css *.mo