tests/languages: fix locale selection