Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

XML Localisation Interchange File Format (XLIFF) serializer for Django

Project Description

Full documentation is at Read the Docs.

XML Localization Interchange File Format (XLIFF) is an XML-based format created to standardize the way localizable data are passed between tools during localization. OASIS standardized XLIFF in 2002. Django-XLIFF conforms to version 1.2.

XLIFF is a bit more verbose than the Django’s standard XML output. Sample output looks like (extra white space added for readability:

<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2"
       version="1.2"
       xmlns:d="https://docs.djangoproject.com/">
  <file datatype="database"
        source-language="en-us"
        original="simpleapp.tag.2">
    <body>
      <group resname="simpleapp.tag.2" restype="row">
        <trans-unit resname="data"
                    translate="no"
                    id="data"
                    restype="x-SlugField">
          <source>tag2</source>
        </trans-unit>
        <trans-unit d:keytype="pk"
                    d:to="contenttypes.contenttype"
                    restype="x-ForeignKey"
                    d:rel="ManyToOneRel"
                    resname="content_type"
                    translate="no"
                    id="content_type">
          <source>37</source>
        </trans-unit>
        <trans-unit resname="object_id"
                    translate="no"
                    id="object_id"
                    restype="x-PositiveIntegerField">
          <source>200</source>
        </trans-unit>
      </group>
    </body>
  </file>
</xliff>
Release History

Release History

This version
History Node

0.3.2

History Node

0.3.1

History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-xliff-0.3.2.tar.gz (578.0 kB) Copy SHA256 Checksum SHA256 Source Dec 4, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting