Language mapping in PoolParty integration
PoolParty integration has a language fallback implemented in case of a language mismatch.
Both PoolParty and Tridion Docs have configurable language options for each project. In some cases there can be a mismatch between requested and available language versions. There is a language fallback implemented for such situations. Language fallback utilizes the following procedure:
- Integration tries to map requested language with the PoolParty project language. This is done in a direct not case sensitive check.
- Next, it splits the language value (e.g. fr-FR) on a special charater, and and tries to match the first part with a PoolParty language.
- If there is no match, fall back to the default language of the PoolParty project and return concepts in that language.