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.