Using pip or easy_install.
pip install django-xliff
or
easy_install django-xliff
Add "xliff", to your INSTALLED_APPS setting.
Create a SERIALIZATION_MODULES setting where the key is the file extension (xliff or xlf) and the value is 'xliff.xliff_serializer':
SERIALIZATION_MODULES = {'xliff': 'xliff.xliff_serializer'}
Use Django’s serialization tools. For example, using the dumpdata command:
django-admin.py dumpdata --format=xliff simpleapp > data.xliff
You can use the loaddata command as well:
django-admin.py loaddata data.xliff