the-house-game icon indicating copy to clipboard operation
the-house-game copied to clipboard

Translating to Russian language

Open ivan192 opened this issue 3 years ago • 6 comments

Hello. The game is very interesting! In which files can the text be changed? I want to translate the game into Russian.

ivan192 avatar Jun 19 '21 13:06 ivan192

HOW TO THAT I AM STILL BEEGINNER HERE GUYS TECH ME

benarascoder avatar Jul 28 '21 15:07 benarascoder

@benarascoder, what you need?

ivan192 avatar Jul 29 '21 09:07 ivan192

Hi,

The game is very interesting!

Thanks!

In which files can the text be changed? I want to translate the game into Russian.

Replying after million years. ;) Apologies.

So, to the point. I'm afraid translating the game is going to be a tedious task. There's no central file from which the game pulls (localised) text. It's scattered across many files in the project (just reviewed them). I can see 2 paths of adding a translation:

  1. Code refactor/cleanup. Extracting all the text to be translated to a separate file, then adding the logic allowing to update the language on the fly. This step could (should?) be preceded with a bunch of automated tests to ensure the game works as intended.
  2. Playing with what we've got now and adding translated text in the original files.

I'd prefer the 1st option but it's a significant time investment and is not an option for me.

I AM STILL BEEGINNER HERE GUYS TECH ME

I made this game as a complete beginner (ha!). Okay. I knew a little bit of jQuery back then. What worked for me was making stuff. Make things, fail, and learn. That's the secret sauce. :)

arturkot avatar Oct 09 '21 08:10 arturkot

Hi,

I have already translated the game, but some places have not been translated, as it is too long in time.

ivan192 avatar Oct 09 '21 10:10 ivan192

Well, it would be a shame, if your work was wasted. I suggest opening up a PR with the translation. I'm not sure when we'll make it actually work but at least it will be stored there waiting for its time.

arturkot avatar Oct 16 '21 09:10 arturkot

@benarascoder, what you need?

idk brother lets join up nd do it together whAT yiu say ?

benarascoder avatar Nov 09 '21 15:11 benarascoder