CMS Development

Leon17
Miembro | Partner nivel Diamond
Miembro | Partner nivel Diamond

Unable to fetch multi langauage variations of knowledge base article

Normally I am able to fetch the variations of a page using this hubL function 

{% set languages = language_variants("localized") %}

This returns the multi language variations of a page for example ("home", "fr/home", and "en/home") But when using this on an knowledge base article or main page the function only returns one object, which consists the properties of the existing page. The multi language variations are not present in the array. How can I fix this issue?

 

PS: the Multi-Language variations have also been created, configured and published.

1 Respuesta 1
Jaycee_Lewis
Administrador de la comunidad
Administrador de la comunidad

Unable to fetch multi langauage variations of knowledge base article

Hi, @Leon17 👋 Thanks for your question. I appreciate you including your details. I'd like to invite some of our community members to the conversation — hey @jeremymandle @albertsg @arinker @Anton, do you have any experience here?

 

Thank you very much for taking a look! — Jaycee


HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates.
Learn More.


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !
0 Me gusta