Skip to content

A platform for community discussion. Free, open, simple.

FEATURE: Make site setting to serve localized content to crawlers public (#35965)

Natalie Taye3292241fb1b
diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml
index 445a16c4051..c364bf3deaf 100644
--- a/config/locales/server.en.yml
+++ b/config/locales/server.en.yml
@@ -2771,6 +2771,7 @@ en:
content_localization_supported_locales: "List of supported locales that user content can be translated to. Requires 'content localization enabled'."
content_localization_allowed_groups: "Groups allowed to update localized content. Requires 'content localization enabled'."
content_localization_language_switcher: "Show a language switcher in the header, allowing visitors to switch between translated versions of Discourse and user-contributed content. Uses languages defined in 'content localization supported locales'"
+ content_localization_crawler_param: "Serve localized content to web crawlers when 'content localization enabled' and 'set locale from param' is enabled. The list of supported locales is defined in 'content localization supported locales'."
enable_upcoming_changes: "Enable upcoming changes"
fake_upcoming_change: "This is a fake upcoming change for testing purposes. No need to translate this string."
diff --git a/config/site_settings.yml b/config/site_settings.yml
index caf4731595c..fa0321d8289 100644
--- a/config/site_settings.yml
+++ b/config/site_settings.yml
@@ -1740,10 +1740,11 @@ content_localization:
- all
default: none
client: true
+ area: "localization"
validator: "LanguageSwitcherSettingValidator"
content_localization_crawler_param:
default: false
- hidden: true
+ area: "localization"
email:
email_time_window_mins: