Magnolia 5.3 reached end of life on June 30, 2017. This branch is no longer supported, see End-of-life policy.
The app is installed by the Content Translation Support module.
The Content Translation app allows you to manually export and re-import page content in translation-friendly XLIFF, CSV and Excel formats. You can then send it to your translation office and import the translated content back. The generated output file includes context information and a link back to the page to facilitate translation.
The Content Translation app is installed by the Content Translation Support module. The app is based on the content app framework so its configuration is typical of any content app. The app is configured at Configuration > /modules/content-translation-support/apps/contentTranslationSupport
.
Node name |
---|
modules |
content-translation-support |
apps |
contentTranslationSupport |
The Content Translation app operates on the website
workspace.
The Content Translation app operates on the mgnl:page
node type.
The Content Translation app allows you to manually export pages for translation and re-import translated pages. You can also preview and publish pages. The app is available at Tools > Content Translation . We use the To export content: The download filename is created from the file path in the You can upload the file to Google Docs for automatic machine-translation, or to give your translator a useful starting point. In Google Docs ensure that you have the Settings > Upload Settings > Convert documents, presentations, spreadsheets, and drawings to the corresponding Google Docs format option selected. Here's the History page in Google Docs. You can now download the file and save it as a CSV file for import into Magnolia. Once the file has been translated you can upload it in the app. The translated content is automatically included on the page. To import translated content: In the Pages app you can now see the translated content in the components and dialogs. Exporting content for translation
googleSpreadsheetExporter
exporter to demonstrate. The GoogleSpreadsheetTranslationBundleWriter
exporter class adds the Google translate formula to the CSV exporter. When you upload the CSV file to Google Docs it evaluates the formula and the text is machine-translated into the target i18n languages automatically.website
workspace, with dots replacing forward slashes. In our example website.demo-project.about.history.csv
. The file has the following columns (comma separated headings in CSV or elements in XLIFF):Text and Image: Subheading
. This tells the translator what kind of page element he is translating.Uploading to Google Docs
Importing translated content