Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addd support to internatinalization #47

Open
zerasul opened this issue Jul 8, 2018 · 2 comments
Open

addd support to internatinalization #47

zerasul opened this issue Jul 8, 2018 · 2 comments
Labels
enhancement New feature or request hacktoberfest

Comments

@zerasul
Copy link
Owner

zerasul commented Jul 8, 2018

add support to internationalization and choose the same page using a metadata.

@zerasul zerasul added the enhancement New feature or request label Jul 10, 2018
@JuanjoSalvador
Copy link
Contributor

Hmmm... Something like this?

mydomain.com/es/homepage -> spanish version
mydomain.com/en/homepage -> english version

But having a metatag specifying the language?

@zerasul
Copy link
Owner Author

zerasul commented Oct 1, 2021

in this case we have two approachings:

  1. Read the http accepted_languages header; then, search for the file homepage-< lang >.md. If it's not found, search the default .md file. Example -> accepted_languages=['es'] -> homepage-es.md
  2. put in the URL the -lang suffix. If there is no this file, search for the default md file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants