My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
Xliff  
XLIFF localization file
Updated Mar 22, 2011 by phong.le...@gtempaccount.com

Introduction

XLIFF is standardized localization file used in the industry. Get Localization has basic support for XLIFF with more than enough for trivial localization project. More can found from http://en.wikipedia.org/wiki/XLIFF

Example

Following is an example localization file for XLIFF

This file only contains the source language

<?xml version="1.0" ?>
<xliff version="1.0">
  <file original="global" source-language="en_US" 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>

This example encapsulate source and target text into one file. All master string and translations will be both imported at once when importing to Get Localization.

<?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>
Powered by Google Project Hosting