Change the way the language is detected on the client

parent 15d7a82c
Pipeline #1508 passed with stage
in 40 seconds