From dedd55f4c699c457eba2de205ff37c12c0d66352 Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Fri, 13 Nov 2020 13:57:17 +0100 Subject: [PATCH] Explain in README how .Lang is used when .LanguageCode is missing. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1ce49ef..1f635f4 100644 --- a/README.md +++ b/README.md @@ -280,7 +280,7 @@ The language selector will link to a translation of the current page if it exist For "rtl" languages add a `languageDirection` parameter to the language configuration. If not added it will default to "ltr". -Add a `languageCode` parameter to each language as well, that is used to set the correct language attribute in the `html` tag and in feeds. The root `languageCode` is then not needed. +Add a `languageCode` parameter to each language as well, that is used to set the correct language attribute in the `html` tag and in feeds. The root `languageCode` is then not needed. If not set the language key (e.g. "en") will be used. ``` languages: