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

Website translation #44

Open
caiovaccaro opened this issue Jul 13, 2015 · 1 comment
Open

Website translation #44

caiovaccaro opened this issue Jul 13, 2015 · 1 comment

Comments

@caiovaccaro
Copy link

Hey!

I would like to translate the site to Brazilian Portuguese. Is it possible?

Thanks,
C.

@caiovaccaro
Copy link
Author

One way I see this working is to have a content folder and languages folder with duplicate index files, like:

/content
  /en-us
    Markdown files
  /pt-br
    Markdown files
/pt-br
  index.jade
  /docs
    index.jade

The default language (en-us) would be at the root folder. And .jade files would pull the content from .md files.

Of course this is just a suggestion of one way to do it using just harp.

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

No branches or pull requests

1 participant