empty po/ folder gets deleted when running './setup build_i18n'

Bug #620020 reported by David Planella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-distutils-extra
New
Undecided
Unassigned

Bug Description

I've noticed that when adding internationalization support to a project, when creating a po/ folder to contain translations and then running './setup.py build_i18n' to create the template, the po folder is subsequently deleted.

The only workaround I found (if the project does not have any po files) is to manually add a POTFILES.in file.

Revision history for this message
Emilien Klein (emilien-klein) wrote :

The question is why would you want to keep an empty directory, if the project doesn't have translation files? There is no benefit in packing an empty directory AFAIK, only negative aspects. For example, empty directories will generate Lintian errors when packaging for Debian/Ubuntu.

What is your reasoning behind keeping an empty ./po directory?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.