Skip to content

Commit

Permalink
Fix #2895: Problems with translations in plugins (part 2)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
torfsen committed Mar 3, 2016
1 parent 0cff7b7 commit ad255e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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

0 comments on commit ad255e2

Please sign in to comment.