Fix #2356. Compare languages not locales