mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2025-05-08 13:36:01 +02:00
Use i18n to translate some strings
Hugo 0.17 allows for easy multi-lingual sites. Strings can be translated either in the theme or in the site, and missing strings will fall back to the default language. See: https://github.com/spf13/hugo/blob/master/docs/content/content/multilingual.md
This commit is contained in:
14
i18n/en.yaml
Normal file
14
i18n/en.yaml
Normal file
@ -0,0 +1,14 @@
|
||||
- id: about
|
||||
translation: "About"
|
||||
|
||||
- id: recentPosts
|
||||
translation: "Recent Posts"
|
||||
|
||||
- id: readMore
|
||||
translation: "Read more"
|
||||
|
||||
- id: translations
|
||||
translation: "Translations"
|
||||
|
||||
- id: share
|
||||
translation: "Share"
|
Reference in New Issue
Block a user