From 3892670d9271cee1e6b6f9fbea408074d2f351d1 Mon Sep 17 00:00:00 2001 From: Anders Reus <88318565+andersreus@users.noreply.github.com> Date: Tue, 14 Oct 2025 16:06:48 +0200 Subject: [PATCH] Added culture to the ApiContentRouteBuilder to include variant languages. (#20366) (#20499) Added culture to the ApiContentRouteBuilder to include variant languages. --- src/Umbraco.Core/DeliveryApi/ApiContentBuilderBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Core/DeliveryApi/ApiContentBuilderBase.cs b/src/Umbraco.Core/DeliveryApi/ApiContentBuilderBase.cs index a978d63c8e..93d5ece422 100644 --- a/src/Umbraco.Core/DeliveryApi/ApiContentBuilderBase.cs +++ b/src/Umbraco.Core/DeliveryApi/ApiContentBuilderBase.cs @@ -30,7 +30,7 @@ public abstract class ApiContentBuilderBase public virtual T? Build(IPublishedContent content) { - IApiContentRoute? route = ApiContentRouteBuilder.Build(content); + IApiContentRoute? route = ApiContentRouteBuilder.Build(content, VariationContextAccessor.VariationContext?.Culture); if (route is null) { return default;