Extension | .idml |
Smartling Identifier | idml |
Resources | InDesign Markup Language Resources |
You can use Smartling to translate the content of Adobe InDesign documents in one of the following ways:
- Via file upload, by selecting an INDD or IDML file format, or
- Via the Adobe InDesign Plugin.
This article only explores steps to translating InDesign Markup Language (IDML) files via file upload (drag & drop). If you are interested in integrating your InDesign directly with Smartling, consult your Smartling Representative about our Adobe InDesign Plugin.
Translating InDesign files
Smartling supports the translation of files in both the native Adobe InDesign Document format (.indd) and in an Adobe InDesign Markup Language format (.idml). IDML is a more lightweight XML-based format that is ideal for data exchange with tools like Smartling, while INDD files are typically larger, with more resource data being cached. Depending on your design processes, you can opt for either file format when it comes to translating your InDesign document in Smartling.
IDML is most often used as a native file format for PDF documents. Once the IDML has been translated, post-translation production in the form of desktop publishing (DTP) takes place to produce the translated PDF. DTP can take time and resources in your translation process, so it is important to follow the steps outlined below for best results when translating Adobe InDesign Files.
Preparing Adobe InDesign Files for Translation
Export to IDML
To translate Adobe InDesign files using Smartling, you or your designer must simply export the document to the IDML format (.idml). Go to File > Export and select InDesign Markup (IDML) in the Export dialog window.
Directives via API
IDML supports the includeOriginalStrings
parameter. By default, includeOriginalStrings
is true
. This means that when downloading the translated version of the file if a translation is authorized but not published or prepublished, the source string will be present.
To exclude source content and incomplete translations from the translated file, you can set includeOriginalStrings
to false
.
By default, only the text of a file is captured for translation. If you wish to translate URLs as well, you can set the directive smartling.translate_hyperlinks
totrue
.
Steps to Translating Adobe InDesign Files
- When creating the source file, follow a localization-friendly format. For example, hard returns in the middle of a sentence should be avoided, and replaced with soft returns. For more information, read Best Practices for Adobe InDesign Translation.
- Ensure to create a Files Project for file translation management.
- Ensure track changes is switched off or all changes have been accepted/rejected.
- Once you're ready to translate the file, create a Job. If any content is ingested that should not be translated, you can exclude it from translation, should you need to. To get an idea of what the layout and display of the translated file will be, you can download a pseudo translated file. From here, you can decide if any adjustments are necessary to the source content.
- You can also provide instructions to provide context. By attaching a JPG or PDF export of the InDesign document in the original language and providing instructions about the document, you can create an excellent reference for translators to help them understand the context. Remember that not all translators can open the IDML file, so Smartling strongly recommends that you provide context via instructions.
- Furthermore, applying character limits to strings can help ensure translations are kept to a certain length.
- Translators can generate dynamic Visual Context from within the CAT Tool by clicking Generate document with the latest [language] translations button once they save translations.
- When translations are complete, download the published translations to your local drive.
- If the IDML file is used as a a native file format for a PDF document, we recommend including a post-translation step for desktop publishing (DTP) into your localization process. This is an important step to produce a correctly formatted, localized PDF file. DTP takes place outside of the Smartling platform; typically it is carried out directly in InDesign.
You or your design resource can open the file with all links intact and, if needed, save it in the native Adobe InDesign (.indd) format for production.
If you need to convert a batch of Adobe InDesign files from their native file format (.indd) to InDesign Markup Language format (IDML), there are applications that can assist with the process.
Smartling only translates the text of the IDML file. Other data, such as fonts, are not changed. This means that if you are translating into a language with a non-Latin character set, such as Chinese, you may need to set new fonts with the appropriate character set before you can read your translated files. Only standard InDesign fonts are compatible in Smartling.
Troubleshooting Translated Adobe InDesign Files
When viewing and deploying translated Adobe InDesign files, it is important to remember that most fonts do not contain the characters necessary to display content in every language.
When you upload a file to Smartling, by default, only the text of the file is captured and translated. This means that, when you download your translated file, its font may not support all the new characters. These characters will be displayed as empty boxes, sometimes referred to as ‘tofu’.
If you open a translated file, and it’s full of tofu, it doesn’t mean that the file is corrupted. It may just be that your current font can’t display the translation. To view these files, you need to have a font with the required characters.
Choosing an appropriate final font for your translated files is an important design decision, but if you just want to check your translations, a good place to start is with Google’s Noto collection of fonts. Noto fonts are available to support most languages and scripts.
For more information, read Best Practices for Adobe InDesign Translation.