Title: Multi-Language Wordle clone fork
Slug: multi-language-wordle-clone-fork
Date: 2022-02-06 20:20:00
Author: Kartones
Lang: en
Tags: Development, Javascript, Videogames
og_image: https://images.kartones.net/posts/kartonesblog/swordle_fork_screenshot.jpg
Description: Practicing React by forking a Swedish Wordle clone and making it multi-language.


I don't touch much [React](https://reactjs.org/) code at work, but I feel I should have a minimal proficiency. While I've read some articles and [watched a course](https://blog.kartones.net/post/course-review-react-for-beginners-wes-bos/) about it, in the end nothing beats practice by trying. 

In the near future, I plan to do a small personal project built from scratch, although I might go with [Preact](https://preactjs.com/) instead of React.But more recently, a colleague built a Swedish [Wordle](https://www.powerlanguage.co.uk/wordle/) clone, appropriately called [Swordle](https://swordle.vercel.app/), and I decided to practice a bit by forking it and making it multi-language.

I won't dig into the details of the changes I implemented, they're [really not much](https://github.com/kartones-forks/swordle/commit/d306f9693834d07dce3bd4cfce4e35e43aa289de). 

What I'll show is a small screenshot of how it looks with different languages:

![Swordle fork screenshot](https://images.kartones.net/posts/kartonesblog/swordle_fork_screenshot.jpg)

I added Spanish, British English and American English, switchable via the header flags. The game state and guesses are also now separated by language so you can actually play one word per language per day, although both English word dictionaries are very very similar.

If you're interested, my fork lives at [github.com/kartones-forks/swordle](https://github.com/kartones-forks/swordle).