XWIKI-10745: Improve the display of available languages in Flamingo.

* Fix test.