the-butterfly-effect / tbe

The Butterfly Effect, a realistic physics simulation game
http://the-butterfly-effect.org
GNU General Public License v2.0
96 stars 13 forks source link

Switching of languages works wrong #321

Open glixx opened 5 years ago

glixx commented 5 years ago

Version 0.9.3.1

I guess when needs to switch from language 1 into language 2, then needs to switch into English first and to switch into language 2 the next. Right now after switching into language 2 we see some strings in language 1 still, but they must be English.

glixx commented 5 years ago

For example, we can see Russian translation for French language:

screenshot_20180917_154951 screenshot_20180917_155010

Wuzzy2 commented 4 years ago

I think the easiest way to deal with this is to require a restart after switching the language. Language is not something you switch frequently.

glixx commented 4 years ago

Restarting is last centure way.

Wuzzy2 commented 4 years ago

I know from my own experience that it can be VERY painful and time-consuming in Qt to support live language switching. You have to make sure that every widget is updated, and it can take forever to track them down in code and add specific callbacks. The amount of work and testing required for this far outweights the actual benefit.

Restart is a perfectly reasonable answer to that. I'd just make a simple message window pop up after a language switch.

kaa-ching commented 4 years ago

Simple is good.