From fa8935ac43e8aedffb51b82fc9832fc9a4e0ad91 Mon Sep 17 00:00:00 2001 From: Lucas Constantino Silva Date: Mon, 6 Oct 2025 20:12:10 +0200 Subject: [PATCH] Update localization instructions in documentation Clarified localization behavior in GraphQL queries. --- docs/configuration/localization.mdx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/configuration/localization.mdx b/docs/configuration/localization.mdx index 9174804a7cd..33689649ae8 100644 --- a/docs/configuration/localization.mdx +++ b/docs/configuration/localization.mdx @@ -213,11 +213,13 @@ query { } ``` +Alternatively, you can also localize a whole operation using the same `?locale=` and `?fallback-locale=` URL query parameters used on the REST API. + - In GraphQL, specifying the locale at the top level of a query will - automatically apply it throughout all nested relationship fields. You can - override this behavior by re-specifying locale arguments in nested related - document queries. + In GraphQL, specifying the locale at the top level of a query or using the + URL query parameters will automatically apply it throughout all nested + relationship fields. You can override this behavior by re-specifying locale + arguments in nested related document queries. #### Local API