Skip to content

Support globalization of pages/posts #61

@devcrafting

Description

@devcrafting

Description & expected behavior

Be able to do the same as https://www.sylvaindurand.org/making-jekyll-multilingual/ with Jekyll. It would allow to write some pages/posts in one language or multiple languages (depending on context).
When there are some others languages, they can be displayed in header for example.
Tags and archives pages should also depend on selected language.

Actual behavior

Multiple languages are not supported for now, or more exactly are not taken in account (you can write in any language).

Possible solutions

I would like to give a try to this feature if you are interested in (through a PR). I would like to check with some of you how you would implement it.
I thought to:

  • rely on Header metadata OR folder structure: for ex, sources/en, sources/fr, sources/blog/en, sources/blog/fr...to find Language (or Culture ?)
  • add an optional Key property to BlogPost type, then take it in account for Blog listing
  • other design desicions I will discover/you already see...

What do you think ?

Thanks
Clément

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions