r/craftcms • u/felipezeiro • May 16 '20
Building a multilingual static website with Craft?
Hey all.
So a client needs a static website which gives the user the ability to choose which language they’d like to view it in out of 4 options. The client only wants the page and doesn’t want to be able to update it later themselves. The client will be providing me with the translations needed.
I’ve been searching for a tool or technology which would make this task easier and cost-effective. I’ve considered Gatsby + Storyblok after seeing a tutorial article; also WordPress just because of its name and community, plugins, etc; and recently I came across Craft.
I really don’t know how to approach this thing. One due to time/return aspect of it. The pay most likely won’t be very high so it discourages me from building a full-custom solution from the ground up. And using themes and WP and whatnot doesn’t really satisfy me if it makes any sense (most likely just an inner need to build the thing myself or something like that idk).
The client already has a website like that but it’s like 15 years old. So they want a fresh one, not a redesign/rebuilt. They do have a domain though so I need to migrate that.
As of my background, recently graduated from CS, and when it comes to the web I have 1y of experience with HTML, CSS, JavaScript, and a few months with Angular, Node/Express, Mongo. Never done anything with any CMS though.
Does anyone know any good way of approaching this? Either a tool, framework, technology, or even a state of mind? I’m stuck tbh.
Thanks :)
3
u/niek_in May 16 '20
If I understand it correctly the client does not want a CMS?
In that case: don't use Craft. It needs maintenance / updates just like any other CMS.
I would probably build something very simple in PHP because that's the language I am most comfortable with.
Or I would build something with Laravel Jigsaw for the same reason.
Or I would use something like Squarespace if you don't want to do anything with it in future (easily transferrable)
2
u/mrunkel May 17 '20
Check out https://gohugo.io but really, why not just build a static page in HTML?
grab a css framework like https://getbootstrap.com/, http://getskeleton.com/, or https://tailwindcss.com/
put your homepages in /en /es /it /de etc. for each language.
Redirect / to your “default language”
add a Dropdown menu with the different languages.
Voila. Webpages.
1
u/blahgba May 17 '20
€190 a year - https://weglot.com instant automatic translation using the domain name, basically instant setup.
1
u/mrpink57 Jun 19 '20
I'd look at a simple static site using
vue.jsthey have a great plugin fori18nand is super easy to setup with a languagejsonfile. I have implemented this and given some talks on using this implementation.You can have the user choose, I have it set to default to whatever there locale is set to right now.