Content Translation Export Import icon
Module Id
translationExportImport
Group Id
org.jahia.se.modules
Updated
Requires Jahia
8.2.0.0
Author
smonier@jahia.com
Category
Tools and Utilities
Status
COMMUNITY info

Content Translation Export Import group_work

translation import export

This project is a Jahia 8 module that adds a React-based administration panel for exporting and importing content translations. It registers a custom route in the Jahia administration interface and communicates with Jahia's GraphQL API.

https://github.com/smonier/translationExportImport

Dependencies & Dependants

Dependencies
  • NONE
Dependants
  • NONE

FAQ

### Exporting translations

1. Select a content path within the current site and a language.
2. Click **Export translations** to fetch internationalised properties.
3. Review the JSON preview and confirm to download the file.

### Importing translations

1. Choose the target language.
2. Upload a JSON file produced by the export process.
3. Click **Import** to apply the translations. A report summarises modified and failed items.

#### JSON format

The import process expects an array of objects where each object defines a node `uuid` and a list of `properties`. Each property contains a `name` and either a `value` or a list of `values`:

```json
[
  {
    "uuid": "xxxx-xxxx-xxxx-xxxx",
    "properties": [
      {"name": "jcr:title", "value": "Hello"},
      {"name": "jcr:keywords", "values": ["one", "two"]}
    ]
  }
]
```

How To Install


1. Deploy the module and log in to Jahia as an administrator and activate it.
2. Open the Additional Panel on the desired site and choose **Export / Import Translation**.
3. Use the start panel to pick either **Export** or **Import**.

Images

License

MIT License

Copyright (c) Stephane Monier

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.