From 3ba2440f7b405b0f2556957ad827defe25873c4d Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 23 May 2022 12:33:15 -0300 Subject: hidden language support --- src/data/things.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/data/things.js') diff --git a/src/data/things.js b/src/data/things.js index b473751..daec610 100644 --- a/src/data/things.js +++ b/src/data/things.js @@ -1466,6 +1466,16 @@ Language.propertyDescriptors = { } }, + // Flag which represents whether or not to hide a language from general + // access. If a language is hidden, its portion of the website will still + // be built (with all strings localized to the language), but it won't be + // included in controls for switching languages or the + // tags used for search engine optimization. This flag is intended for use + // with languages that are currently in development and not ready for + // formal release, or which are just kept hidden as "experimental zones" + // for wiki development or content testing. + hidden: Thing.common.flag(false), + // Mapping of translation keys to values (strings). Generally, don't // access this object directly - use methods instead. strings: { -- cgit 1.3.0-6-gf8a5