Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AmazingRise/hugo-theme-diary.wiki.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRise <8315221+AmazingRise@users.noreply.github.com>2020-05-24 14:36:23 +0300
committerRise <8315221+AmazingRise@users.noreply.github.com>2020-05-24 14:36:23 +0300
commitb10b88a74e43fd7c80506ad2278b091d44ebf70a (patch)
treeab62c2570c93756fcbeabd7ab0ec9a63be57187a
parent1db19ff9ef78206facf1bb64f8541ff88e0b7efb (diff)
Created Internationalization (markdown)
-rw-r--r--Internationalization.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/Internationalization.md b/Internationalization.md
new file mode 100644
index 0000000..93f60cf
--- /dev/null
+++ b/Internationalization.md
@@ -0,0 +1,11 @@
+Thanks for the efforts of [jordan-dlh](https://github.com/AmazingRise/hugo-theme-diary/pull/43), now `hugo-theme-diary` supports several languages.
+
+To change default language of this theme, please add this line to your site's `config.toml`:
+
+```toml
+DefaultContentLanguage = "en"
+```
+
+At present, we support English(`en`), French(`fr`), and Chinese(`zh-CN` and `zh-TW`).
+
+**NOTE:** This configuration doesn't apply to sidebar. To customize sidebar, please visit [here](https://github.com/AmazingRise/hugo-theme-diary/wiki/Customization#customize-sidebar). \ No newline at end of file