Returning 'Cultures' in Content Delivery API
r
Have a Umbraco 13 site, with two cultures 'English' and 'English (United States)' The site looks like this Home --- USA (culture on this node set to 'English (United States)') -------- About Us ---- UK (culture on this node set to 'English') -------- About Us All working fine, however when I return any node via the Content Delivery API the 'Cultures' section is empty. How can I return the culture for a node using the API? Thanks
Figured this out. This only works when VaryByCulture is used
j
How did you solve it? I have tried with ?culture=en but I still get the swedish content
r
You have to have VaryByCulture switched on, otherwise it won’t appear
2 Views