Internationalization Of A Jigsaw Static Site

May 17, 2020

jigsaw portuguese

Alongside playing with code, i like to learn Portuguese. So i was wondering this morning the best way to make a Portuguese version of the site.

I would like a language switcher to swap between EN and PT at first. This would change the nav, footer and buttons across the site. Perhaps there could be a posts_pt directory for tranlsated posts, which i would like to have auto-translated by some online gizmo (google)?

I wonder if this the way others have tackled this problem in the past.

Can javascript detect the locale? i need to search this next.

I have created an /about_pt page to experiment with this

If you would like to contact me you can either use this form on or via Twitter @andylondon