Fixed issue #7157: Some languages cannot be represented by flags