An open API service indexing awesome lists of open source software.

https://github.com/hingston/minify_po_files

Minify .po files for a Django project
https://github.com/hingston/minify_po_files

django-locale

Last synced: 8 months ago
JSON representation

Minify .po files for a Django project

Awesome Lists containing this project

README

          

# Minify Django .po Files

Removes all unnecessary lines from [.po files](https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html) in a [Django](https://www.djangoproject.com/start/overview/) project.

### Usage
`$ python minify_po_files.py [-h] [-p] [-e ENCODING] path`
###### positional arguments:
```
path path of Django locale directory
```
###### optional arguments:
```
-h, --help show this help message and exit
-p, --print print percentage translated for readme.md
-e ENCODING, --encoding ENCODING
encoding, default='utf8'
```