diff options
author | Tan Yuanhong <leotan.yh@gmail.com> | 2020-03-10 17:10:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-10 10:10:58 +0100 |
commit | 5914f91b6c980e42693661d5fd5640e237691df6 (patch) | |
tree | bce51813806dc2c96ce41b9df75fad973fe7ee62 /docs/content | |
parent | 5b4659fa0bd28511b8aded64e824e73baaabb0b5 (diff) |
Add languageDirection to language configuration
Fixes #6550
Diffstat (limited to 'docs/content')
-rw-r--r-- | docs/content/en/content-management/multilingual.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/content/en/content-management/multilingual.md b/docs/content/en/content-management/multilingual.md index d3f71676a..575393d47 100644 --- a/docs/content/en/content-management/multilingual.md +++ b/docs/content/en/content-management/multilingual.md @@ -47,6 +47,11 @@ weight = 2 linkedin = "https://linkedin.com/fr/whoever" [languages.fr.params.navigation] help = "Aide" + +[languages.ar] +title = "مدونتي" +weight = 2 +languagedirection = "rtl" {{< /code-toggle >}} Anything not defined in a `languages` block will fall back to the global value for that key (e.g., `copyright` for the English `en` language). This also works for `params`, as demonstrated with `help` above: You will get the value `Aide` in French and `Help` in all the languages without this parameter set. |