Skip to main content

Django XLIFF

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 files for django-xliff 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-xliff 0.3.2
File Size Uploaded
django-xliff-0.3.2.tar.gz 578.0 kB Details

Release files / django-xliff-0.3.2.tar.gz

Download URL django-xliff-0.3.2.tar.gz
Size 578.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8b6fcb81256798f5bfc64eb698ca8dfd35d76c8d7264e2bd919cad387df1d60d
BLAKE2b-256 checksum
How to use checksums
23230068d1d1f39676ef9fca0b668e9d1f0de4f19c4e142f5da3c1a2892c73e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.2 This release

1 release file

0.3.1

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page