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