gnome-languages: Use uselocale to avoid threadsafety issues

setlocale is MT-Unsafe!
1 job for master in 2 minutes and 31 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #227576
build_stable

00:02:31