Skip to main content

Include or Exclude Missing Translations (PDF)

By default, if you publish a document to PDF and that document has missing translations, those parts are included in the source language. If you prefer, you can set Paligo to exclude the missing translations so that readers only see the content that has been translated.

For example, let's say you have a document that is written in English and translated into German. You write the content, get it translated and then publish it to both languages. Later you decide to add a "Customer support" topic to the document, so you write that in English, and publish it to both languages, even though it has not been translated.

A page from a PDF output. It has German text in the header and Deutsch in a language sidebar. The title and content on the page is in English and each element has an [en] prefix. The English content is shown as red text with a light red background.

This results in the German version containing the "Customer support" topic in English and the elements on that page are prefixed with [en] and are shown in red with a pale red highlight.

If you prefer to hide untranslated content, you can choose to exclude it in the PDF layout settings:

  1. Select Layout in the top menu.

    Paligo editor. The Layout option in the header menu is highlighted.

    Paligo displays a list of Layouts. The list is empty if there are no custom Layouts in your Paligo instance.

  2. Select the Layout you want to update or Create a Layout.

    Tip

    You can copy the URL of the Layout Editor and paste it into a new tab in your browser. This can be useful if you frequently switch between your Paligo content and the Layout settings.

  3. Select Languages.

  4. Set Hide missing translations to Enabled if you want Paligo to exclude the missing translations from the PDF.

    Set it to Disabled if you want Paligo to include the missing translations, so that they appear in the source language. If you select Disabled, missing translations will have the source language ISO code in square brackets as a prefix and the untranslated content is in red with a light red background.

    Hide missing translations setting. It is set to default but also has enabled and disabled options.
  5. Select Save.

When you publish a document with this PDF layout, Paligo will include or exclude the missing translations, depending on your choice in the layout.