Kontent.ai: What determines which languages are available during project submission?

Introduction

When you run the XTM Connect – Kontent.ai plugin, to submit content for translation in XTM Cloud, you can make other configuration settings for your XTM Cloud project. You do so in the Add content (or Add content group) panel, on the left-hand side. Apart from selecting an XTM customer or an XTM Template, you can also select a source and target language combination.


General rule

It is important to know that the source and target languages listed and available in these dropdowns do not depend on which languages have been selected in a specific XTM project template but on which customized languages have been configured in Kontent.ai (Environment settings → LocalizationLanguages).

XTM Connect – Kontent.ai takes whatever languages have been configured for a particular environment in Kontent.ai and completely ignores the languages selected in an XTM Cloud project template.

For example, if a selected environment has the following languages

  • English (United Kingdom), Polish, German (Germany),

and a selected project template has:

  • Source: English (United States),

  • Target: Polish, Spanish (Spain),

the only available languages in the XTM Connect – Kontent.ai plugin will be English (United Kingdom), Polish and German (Germany). All of them can be selected either as source or target languages.

IMPORTANT!

Note that the Codename field for a particular language should be filled with exactly the same language code as its XTM Cloud counterpart. For instance, for the Polish language, the XTM Cloud language code is pl_PL and it must be the same on the Kontent.ai side.

If the language code in Kontent.ai is different (since it can be), additional language mapping needs to be performed in the Kentico Kontent administrator panel, in a relevant Kontent.ai project. Otherwise, the language with a different language code will not be detected by the XTM Connect – Kontent.ai plugin.

IMPORTANT!

Note that the Codename field for a particular language should be filled with exactly the same language code as its XTM Cloud counterpart. For instance, for the Polish language, the XTM Cloud language code is pl_PL and it must be the same on the Kontent.ai side.

If the language code in Kontent.ai is different (since it can be), additional language mapping needs to be performed in the Kentico Kontent administrator panel, in a relevant Kontent.ai project. Otherwise, the language with a different language code will not be detected by the XTM Connect – Kontent.ai plugin.