Change the setLanguage function.

Remove some wrong parameters. Now it should be possible to save data for all languages. See #662.