Clear available languages when loading settings.

Thanks to Victor Häggqvist for spotting this.
Merge remote-tracking branch 'origin/master' into local-integration