From ef37dcd7e4a056c474e64db6069a96cc79b3142c Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 4 Nov 2016 16:11:33 +0100 Subject: [PATCH] add note about how missing keys are treated --- customize.dist/translations/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/customize.dist/translations/README.md b/customize.dist/translations/README.md index 36c43448e..8bde27e08 100644 --- a/customize.dist/translations/README.md +++ b/customize.dist/translations/README.md @@ -107,6 +107,9 @@ define(function () { It's important that you modify just the string, and not the variable name which is used to access its content. For instance, changing `_languageName` to `_language_name` would make the string `'Pirate'` inaccessible to the rest of the codebase. +If a key is not found in your translation, the default English version of that key will be used. +This is to make sure that buttons and other interface elements are not empty, but it's obviously not ideal. + ## Verifying Your Translations It's advisable to save your translation file frequently, and reload Cryptpad in your browser to check that there are no errors in your translation file.