Implementation of FS#1561 - Language selector

See comment on FS#1561 for rules.