From ac9eac5ed62998ef4d13b0d857760cadeec4ca09 Mon Sep 17 00:00:00 2001 From: rugk Date: Wed, 21 Nov 2018 23:32:06 +0100 Subject: [PATCH] Ask google not to translate the page We already have i18n. Furthermore, Google may analyse sensitive content for the purpose of recognising whether the page needs to be translated, see https://support.google.com/webmasters/answer/79812?hl=en Ref https://github.com/threema-ch/threema-web/pull/681 --- tpl/bootstrap.php | 1 + tpl/page.php | 1 + 2 files changed, 2 insertions(+) diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index 91fb815..ffbccaa 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -11,6 +11,7 @@ $isPage = substr($template, -5) === '-page'; + <?php echo I18n::_($NAME); ?> + <?php echo I18n::_($NAME); ?>