Comment 8 for bug 1872186

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

That's interesting, @kokoye2007. It seems like this has already been carefully considered.

Maybe worth mentioning that there is a parallel in form of the file /usr/share/language-tools/main-countries (belonging to accountsservice) which is used to be able to pick the main locale out from the pure language code. So

$ /usr/share/language-tools/language2locale en
en_US.UTF-8
$ /usr/share/language-tools/language2locale fr
fr_FR.UTF-8

(That is run on 'locale -a' output, though, but same idea.)