benjamintd / codegame.cards

Codenames
https://codenames.cards
50 stars 26 forks source link

Italian #82

Open harisont opened 2 years ago

harisont commented 2 years ago

Hi!

Great implementation of one of my favorite board games.

I'd love to play this in my mother tongue, and I'm open to translating both the UI and the game dictionary myself, unless you had different plans.

benjamintd commented 2 years ago

Sure ! Do you have some knowledge of code ? Here is where you can translate the UI: https://github.com/benjamintd/codegame.cards/tree/master/locales The goal would be to create a new file called it.ts that contains the translations.

For the list of words, you can copy one of the dictionaries in that folder and past your list: https://github.com/benjamintd/codegame.cards/tree/master/lib

Let me know if there's something I can do to help !

harisont commented 2 years ago

Nice, I'll start right now!

Do you have some knowledge of code ?

Yes, in fact I was also thinking that it would be nice to implement a variant where you can blend languages. I'd love to play in Swenglish some time in the future. But maybe that'd be another issue :)

benjamintd commented 2 years ago

Awesome !

If you're comfortable with setting up the repo and testing your changes, there are a few other places where you'll need to add the it locale:

I can help with any/all of this work if you need help, otherwise feel free to send a PR :) Here's a good example of what this could look like : https://github.com/benjamintd/codegame.cards/pull/47/files