0

I have create a one-page template in English which I am planning on hosting on GitHub Pages1.

It's a very simple resume website, so I don't need anything as fancy as Jekyll. Is there a way to offer multi-language support for the website?

I was thinking of translating my index.html file into a couple of other languages, and then making some sort of JavaScript popup whereby if a user clicks on one of the flags it would re-load the page with the translated html file. Is this possible? Or perhaps there is a better way of achieving this?

1. God bless them for offering this service for free!

0

Answering my own question here, but there are plenty of JS plugins such as translate.js that enable client-side translation as long as a dictionary is provided.

  • Not sure how to, I posted as a guest. @pnuts – DDiran Aug 20 '17 at 12:36
  • 1
    Doh! Silly me. Thanks – DDiran Aug 20 '17 at 14:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.