From cdf9ee4566aea65dba1d7544137e0b3364958ae6 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 209ce4e33e..2ae4708210 100644 --- a/src/Umbraco.Core/DeliveryApi/ApiContentBuilderBase.cs +++ b/src/Umbraco.Core/DeliveryApi/ApiContentBuilderBase.cs @@ -45,7 +45,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;