CMS Development

Leon17
Member | Diamond Partner
Member | Diamond Partner

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 Reply 1
Jaycee_Lewis
Community Manager
Community Manager

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 Upvotes