Skip to content

Conversation

@z3nth10n
Copy link

With this change, you won't need to create a new file for each locale you need.

Just write: locale: ":language"

And depending on language it will change.

Full example:

---
layout: index
section-type: index
languages: 
- en
- es
sitemap:
  priority: 1.0
pagination: 
  enabled: true
  locale: ':language'
  permalink: '/:num/'
---

I'm using jekyll-language-plugin together with this.

ibrado and others added 30 commits February 8, 2018 11:32
Adding note about gitlab in readme
@antwal
Copy link

antwal commented May 27, 2019

you can use this plugin jekyll-multiple-languages-plugin? the paginate-v2 locales are inconvenient and very limited

@sverrirs
Copy link
Owner

sverrirs commented Feb 8, 2020

Needs to be rebased due to forced backtracking in repo

@antwal
Copy link

antwal commented Sep 19, 2020

With this change, you won't need to create a new file for each locale you need.

Just write: locale: ":language"

And depending on language it will change.

Full example:

---
layout: index
section-type: index
languages: 
- en
- es
sitemap:
  priority: 1.0
pagination: 
  enabled: true
  locale: ':language'
  permalink: '/:num/'
---

I'm using jekyll-language-plugin together with this.

This is very old plugin, try using another version of jekyll-language-plugin if you can. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants