Control introduction of new languages in docs translation (#7722)
Explicitly specify which translations to include in the docs localization options. We need that in order to run a proper test of a new language, before we show the option for it. Previously, we automatically added any new languages present in the netdata/localization project, without ensuring that: - An option for the language appears on the language selection menu - The links in the new language are valid (`checklinks.sh` script)
Chris Akritidis committed
Jan 14, 2020 at 00:05 UTC
1305dd91540abcec08df18a0ed66c8986d018163
1 file changed
+1
-1
docs/generator/buildhtml.sh
+1
-1
@@ -91,7 +91,7 @@ prep_html() {
91
92
}
93
94
-for d in "en" $(find ${LOC_DIR} -mindepth 1 -maxdepth 1 -name .git -prune -o -type d -printf '%f ') ; do
94
+for d in "en" "zh" "pt" ; do
95
echo "Preparing source for $d"
96
cp -r ${SRC_DIR} ${DOCS_DIR}
97
if [ "${d}" != "en" ] ; then