Refactoring the language selection mechanic
[FINISHES #29131545]