From 52ee6cda7493c7c926d5219b35ddd819fb195845 Mon Sep 17 00:00:00 2001 From: Jonah Date: Mon, 5 Aug 2019 22:20:20 -0500 Subject: [PATCH] Install jekyll-multiple-languages-plugin https://github.com/kurtsson/jekyll-multiple-languages-plugin --- Gemfile | 1 + _config.yml | 2 ++ _i18n/en.yml | 3 +++ _i18n/fr.yml | 3 +++ _i18n/pl.yml | 3 +++ 5 files changed, 12 insertions(+) create mode 100644 _i18n/en.yml create mode 100644 _i18n/fr.yml create mode 100644 _i18n/pl.yml diff --git a/Gemfile b/Gemfile index 70f8d954..2c096aa1 100644 --- a/Gemfile +++ b/Gemfile @@ -14,3 +14,4 @@ gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby] # Performance-booster for watching directories on Windows gem "wdm", "~> 0.1.0" if Gem.win_platform? +gem 'jekyll-multiple-languages-plugin' diff --git a/_config.yml b/_config.yml index 355e9fe6..37b10a07 100644 --- a/_config.yml +++ b/_config.yml @@ -5,6 +5,8 @@ sass: style: compressed plugins: - jekyll-sitemap + - jekyll-multiple-languages-plugin sitemap: file: "/sitemap.xml" include: [".well-known"] +languages: ["en", "pl", "fr"] diff --git a/_i18n/en.yml b/_i18n/en.yml new file mode 100644 index 00000000..b9c0750d --- /dev/null +++ b/_i18n/en.yml @@ -0,0 +1,3 @@ +pages: + home: Home + work: Work diff --git a/_i18n/fr.yml b/_i18n/fr.yml new file mode 100644 index 00000000..fab17bde --- /dev/null +++ b/_i18n/fr.yml @@ -0,0 +1,3 @@ +pages: + home: HomeFR + work: WorkFR diff --git a/_i18n/pl.yml b/_i18n/pl.yml new file mode 100644 index 00000000..13aed008 --- /dev/null +++ b/_i18n/pl.yml @@ -0,0 +1,3 @@ +pages: + home: HomePL + work: WorkPL