Skip to main content
The cart is empty

Export-Import

1- Export

Note: This documentation don't exist yet in french.

Since Falang 2.6.0 you can export/import translation, this is done by an xml file (close to xliff format)

Go to the export page of falang directly from your falang cpanel page.

1 export

In this exemple a file will be generated for all "not existing" aricle translation for french (default language english)

A file : falang-content-fr-FR.xml will be generated.

<xml version='1.2'>
<file original='5.content' source-language='en-GB' target-language='fr-FR' datatype='htmlbody' product-name='falang' product-version='@@VERSION_NUMBER@@'>
<body>
    <trans-unit id='5.content.title'>
    <source><![CDATA[Article for all content]]></source>
<target><![CDATA[Article for all content]]></target>
</trans-unit>
<trans-unit id='5.content.introtext'>
     <source><![CDATA[<p>This is an article visible for all </p>]]></source>
     <target><![CDATA[<p>This is an article visible for all </p>]]></target>
</trans-unit>
</body>
</file>
    ................
</xml>
 

Each translation element is in a file element , the translation (source) is copied to the target element, you have to translate and replace the target element.

2 - Import

The translation file for article (content) is finalized you can import it. Go to the import page from your cpanel falang page.

2 import

Choose the import file and the target language. Click Process import.