ncase / wbwwb

We Become What We Behold – a minigame about the news!
1.15k stars 235 forks source link

Quick report about translations #49

Open natan-dias opened 1 year ago

natan-dias commented 1 year ago

In my fork I just removed some images, because Persian images were making difficult to just translate that. So, if you want to translate, just add a new section in textStrings file with your language TAG and change the last line to put your language TAG as the default language.

In my case, it was like that: var textStrings = textStrings_PT_BR;

I don't think that change images with another language would be a good solution. i think the best case scenario would be duplicate the images with a new file name and create some conditional to load that image if your language is selected. For me, it doesn't make sense to have a new image on top of that with a language printed inside of it. But for now, I will not submit a new PR. I made the changes only on my personal forked repo and revert some changes, so the game is closer to the owner's game.

I hope this can be helpful.

Kind regards.