Skip to content

Multilingual support #23

@pmviva

Description

@pmviva

Hi, I was wondering if there was a plan for implementing multilingual support in the theme. I thnk it should be fairly straightfoward to implement it. If you like the idea I can fork the repository and submit a pull request.

I was thinking the following:

  1. Add buttons for all the available languages in the site using {{ range .Site.Home.Translations }}} in the main menu
  2. Ensure using {{ .Permalink }} on every page and using relLangURLor absLangURLon every link
  3. Adding links for translations similar to tags on every post.
  4. Move and translate every hardcoded text in the templates to i18n files.
  5. Configure params per language inside config.toml, specially site title, subtitle, date formats, etc.
  6. Add <link rel="alternate" href="......" hreflang="..."/>in HTML Head

Let me know.

Thanks
Pablo

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions