Issue #2313157 by Gábor Hojtsy: Fixed Optimize admin language detection and make it optional.