Translating XLIFF files

XLIFF is the standardized localization file used in the localization industry. Get Localization fully supports different versions of XLIFF in all of its translation products.

If you are looking how to integrate your iOS app development with continuous localization cycle, see this detailed tutorial how to use Xcode and the XLIFF features..

Examples

Here are few examples of the XLIFF file structure.

  1. File containing only the source language.

    <?xml version="1.0" ?>
    <xliff version="1.0">
        <file original="global" source-language="en" datatype="plaintext">
        <body>
            <trans-unit id="1">
                <source>Application Name</source>
                <target></target>
            </trans-unit>
            <trans-unit id="2">
                <source>Home</source>
                <target></target>
            </trans-unit>
            <trans-unit id="3">
                <source>Exit</source>
                <target></target>
            </trans-unit>
        </body>
        </file>
    </xliff>
    
  2. File containing source and target text in one file.

    <?xml version="1.0" ?>
    <xliff version="1.0">
        <file original="global" source-language="en_US" target="fi" datatype="plaintext">
            <body>
              <trans-unit id="1">
                <source>Application Name</source>
                <target>Sovelluksen nimi</target>
              </trans-unit>
              <trans-unit id="2">
                <source>Home</source>
                <target>Koti</target>
              </trans-unit>
              <trans-unit id="3">
                <source>Exit</source>
                <target>Poistua</target>
              </trans-unit>
            </body>
        </file>
      </xliff>
    
  3. Information within the <note> tag will be displayed in the Get Localization editor in the Context field. You can use this field to give context information and instructions to translators.

    <?xml version="1.0" ?>
    <xliff version="1.0">
      <file original="global" source-language="en_US" target="fi" datatype="plaintext">
        <body>
          <trans-unit id="1">
            <source>Application Name</source>
            <target>Sovelluksen nimi</target>
            <note>This text is shown in the start screen of the application. Keep it short.</note>
          </trans-unit>
          <trans-unit id="2">
            <source>Home</source>
            <target>Koti</target>
            <note>This is the text displayed in the link that takes the user to the home page.</note>
          </trans-unit>
        </body>
      </file>
    </xliff>
    

Get Started With Get Localization Today

Get an instant translation quote Try Get Localization Workspace for Free