From 049223271f3eb20e6b78bf5f02109a91deacc6b3 Mon Sep 17 00:00:00 2001 From: Florent Gravin Date: Wed, 18 Oct 2023 13:37:52 +0200 Subject: [PATCH] conf(lang): add the 'current' option for metadata_language if set to current, the search is requested with the current language of the application (UI language) --- conf/default.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/default.toml b/conf/default.toml index 661eacf206..9cdacd9a3f 100644 --- a/conf/default.toml +++ b/conf/default.toml @@ -12,8 +12,9 @@ geonetwork4_api_url = "/geonetwork/srv/api" proxy_path = "" # This optional parameter defines, in which language metadata should be queried in elasticsearch. # Use ISO 639-2/B (https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format to indicate the language of the metadata. +# Setting to "current" will use the current language of the Datahub, the UI langage. # If not indicated, a wildcard is used and no language preference is applied for the search. -# metadata_language = "fre" +# metadata_language = "fre" or "current" # This optional URL should point to the login page that allows authentication to the datahub. # If not indicated, the default geonetwork login page is used. # The following three placeholders can be part of this URL: