Add general locale selection

based on the locale info in the grammar and the name of the concrete language.

See also the discussion at commit ce3bffabe1ec83
Show languages in alphabetical order and capitalized
Dirty hack to show GF sentences in a nicer way

Capitalize first letter; no space before punctuation chars.
To be done properly at some point...